完全清除Resource依赖, 目前可以直接使用源码
This commit is contained in:
@@ -5,7 +5,6 @@ using Flee.ExpressionElements.Base;
|
||||
|
||||
using Flee.InternalTypes;
|
||||
using Flee.PublicTypes;
|
||||
using Flee.Resources;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
@@ -62,7 +61,7 @@ namespace Flee.ExpressionElements
|
||||
|
||||
if (MyTargetCollectionType == null)
|
||||
{
|
||||
base.ThrowCompileException(CompileErrorResourceKeys.SearchArgIsNotKnownCollectionType, CompileExceptionReason.TypeMismatch, MyTargetCollectionElement.ResultType.Name);
|
||||
base.ThrowCompileException("SearchArgIsNotKnownCollectionType", CompileExceptionReason.TypeMismatch, MyTargetCollectionElement.ResultType.Name);
|
||||
}
|
||||
|
||||
// Validate that the operand type is compatible with the collection
|
||||
@@ -71,7 +70,7 @@ namespace Flee.ExpressionElements
|
||||
|
||||
if (ImplicitConverter.EmitImplicitConvert(MyOperand.ResultType, p1.ParameterType, null) == false)
|
||||
{
|
||||
base.ThrowCompileException(CompileErrorResourceKeys.OperandNotConvertibleToCollectionType, CompileExceptionReason.TypeMismatch, MyOperand.ResultType.Name, p1.ParameterType.Name);
|
||||
base.ThrowCompileException("OperandNotConvertibleToCollectionType", CompileExceptionReason.TypeMismatch, MyOperand.ResultType.Name, p1.ParameterType.Name);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user