完全清除Resource依赖, 目前可以直接使用源码
This commit is contained in:
@@ -4,7 +4,6 @@ using System.Reflection;
|
||||
using Flee.ExpressionElements.Base;
|
||||
using Flee.InternalTypes;
|
||||
using Flee.PublicTypes;
|
||||
using Flee.Resources;
|
||||
using System;
|
||||
|
||||
namespace Flee.ExpressionElements
|
||||
@@ -21,7 +20,7 @@ namespace Flee.ExpressionElements
|
||||
|
||||
if (_myDestType == null)
|
||||
{
|
||||
base.ThrowCompileException(CompileErrorResourceKeys.CouldNotResolveType, CompileExceptionReason.UndefinedName, GetDestTypeString(destTypeParts, isArray));
|
||||
base.ThrowCompileException("CouldNotResolveType", CompileExceptionReason.UndefinedName, GetDestTypeString(destTypeParts, isArray));
|
||||
}
|
||||
|
||||
if (isArray == true)
|
||||
@@ -257,7 +256,7 @@ namespace Flee.ExpressionElements
|
||||
|
||||
private void ThrowInvalidCastException()
|
||||
{
|
||||
base.ThrowCompileException(CompileErrorResourceKeys.CannotConvertType, CompileExceptionReason.InvalidExplicitCast, _myCastExpression.ResultType.Name, _myDestType.Name);
|
||||
base.ThrowCompileException("CannotConvertType", CompileExceptionReason.InvalidExplicitCast, _myCastExpression.ResultType.Name, _myDestType.Name);
|
||||
}
|
||||
|
||||
private static bool IsCastableNumericType(Type t)
|
||||
|
Reference in New Issue
Block a user