完全清除Resource依赖, 目前可以直接使用源码
This commit is contained in:
@@ -10,7 +10,6 @@ using Flee.ExpressionElements.Literals.Integral;
|
||||
using Flee.ExpressionElements.Literals.Real;
|
||||
using Flee.InternalTypes;
|
||||
using Flee.PublicTypes;
|
||||
using Flee.Resources;
|
||||
using System;
|
||||
|
||||
|
||||
@@ -59,11 +58,11 @@ namespace Flee.ExpressionElements.MemberElements
|
||||
|
||||
if (MyPrevious == null)
|
||||
{
|
||||
base.ThrowCompileException(CompileErrorResourceKeys.NoIdentifierWithName, CompileExceptionReason.UndefinedName, MyName);
|
||||
base.ThrowCompileException("NoIdentifierWithName", CompileExceptionReason.UndefinedName, MyName);
|
||||
}
|
||||
else
|
||||
{
|
||||
base.ThrowCompileException(CompileErrorResourceKeys.NoIdentifierWithNameOnType, CompileExceptionReason.UndefinedName, MyName, MyPrevious.TargetType.Name);
|
||||
base.ThrowCompileException("NoIdentifierWithNameOnType", CompileExceptionReason.UndefinedName, MyName, MyPrevious.TargetType.Name);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -84,11 +83,11 @@ namespace Flee.ExpressionElements.MemberElements
|
||||
// More than one accessible member
|
||||
if (previous == null)
|
||||
{
|
||||
base.ThrowCompileException(CompileErrorResourceKeys.IdentifierIsAmbiguous, CompileExceptionReason.AmbiguousMatch, MyName);
|
||||
base.ThrowCompileException("IdentifierIsAmbiguous", CompileExceptionReason.AmbiguousMatch, MyName);
|
||||
}
|
||||
else
|
||||
{
|
||||
base.ThrowCompileException(CompileErrorResourceKeys.IdentifierIsAmbiguousOnType, CompileExceptionReason.AmbiguousMatch, MyName, previous.TargetType.Name);
|
||||
base.ThrowCompileException("IdentifierIsAmbiguousOnType", CompileExceptionReason.AmbiguousMatch, MyName, previous.TargetType.Name);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user