1 instantiation of ErrorContext
System.Data.Entity (1)
System\Data\Common\EntitySql\AST\AstNode.cs (1)
22
private ErrorContext _errCtx = new
ErrorContext
();
64 references to ErrorContext
System.Data.Entity (64)
System\Data\Common\EntitySql\AST\AstNode.cs (2)
22
private
ErrorContext
_errCtx = new ErrorContext();
35
internal
ErrorContext
ErrCtx
System\Data\Common\EntitySql\AST\Literal.cs (8)
255
private static object ConvertNumericLiteral(
ErrorContext
errCtx, string numericString)
343
private static object DefaultNumericConversion(string numericString,
ErrorContext
errCtx)
378
private static bool ConvertBooleanLiteralValue(
ErrorContext
errCtx, string booleanLiteralValue)
441
private static byte[] ConvertBinaryLiteralValue(
ErrorContext
errCtx, string binaryLiteralValue)
498
private static DateTime ConvertDateTimeLiteralValue(
ErrorContext
errCtx, string datetimeLiteralValue)
526
private static DateTimeOffset ConvertDateTimeOffsetLiteralValue(
ErrorContext
errCtx, string datetimeLiteralValue)
577
private static TimeSpan ConvertTimeLiteralValue(
ErrorContext
errCtx, string datetimeLiteralValue)
657
private static Guid ConvertGuidLiteralValue(
ErrorContext
errCtx, string guidLiteralValue)
System\Data\Common\EntitySql\CqlErrorHelper.cs (3)
65
internal static void ReportAliasAlreadyUsedError( string aliasName,
ErrorContext
errCtx, string contextMessage )
76
internal static void ReportIncompatibleCommonType(
ErrorContext
errCtx, TypeUsage leftType, TypeUsage rightType )
97
private static void ReportIncompatibleCommonType(
ErrorContext
errCtx, TypeUsage rootLeftType, TypeUsage rootRightType, TypeUsage leftType, TypeUsage rightType )
System\Data\Common\EntitySql\CqlParserHelpers.cs (1)
154
ErrorContext
errCtx = null;
System\Data\Common\EntitySql\SemanticAnalyzer.cs (15)
131
private static void ConvertAndRegisterNamespaceImports(AST.NodeList<AST.NamespaceImport> nsImportList,
ErrorContext
cmdErrCtx, SemanticResolver sr)
133
List<Tuple<string, MetadataNamespace,
ErrorContext
>> aliasedNamespaceImports = new List<Tuple<string, MetadataNamespace,
ErrorContext
>>();
134
List<Tuple<MetadataNamespace,
ErrorContext
>> namespaceImports = new List<Tuple<MetadataNamespace,
ErrorContext
>>();
320
private static void ValidateQueryResultType(TypeUsage resultType,
ErrorContext
errCtx)
573
ErrorContext
errCtx,
2307
private static void ValidateTypeForNullExpression(TypeUsage type,
ErrorContext
errCtx)
2392
private static TypeUsage ConvertTypeSpecArgs(TypeUsage parameterizedType, AST.NodeList<AST.Node> typeSpecArgs,
ErrorContext
errCtx, SemanticResolver sr)
2955
new List<
ErrorContext
>(selectClause.Items.Select(item => item.Expr.ErrCtx)) : null);
2958
private static void ValidateDistinctProjection(TypeUsage projectExpressionResultType,
ErrorContext
defaultErrCtx, List<
ErrorContext
> projectionItemErrCtxs)
2963
ErrorContext
errCtx = defaultErrCtx;
2981
private static void ValidateExpressionIsCommandParamOrNonNegativeIntegerConstant(DbExpression expr,
ErrorContext
errCtx, string exprName, SemanticResolver sr)
3323
private static DbExpressionBinding ProcessWhereHavingClausePredicate(DbExpressionBinding source, AST.Node predicate,
ErrorContext
errCtx, string bindingNameTemplate, SemanticResolver sr)
System\Data\Common\EntitySql\SemanticResolver.cs (19)
312
private DbExpression GetExpressionFromScopeEntry(ScopeEntry scopeEntry, int scopeIndex, string varName,
ErrorContext
errCtx)
474
internal ExpressionResolution ResolveSimpleName(string name, bool leftHandSideOfMemberAccess,
ErrorContext
errCtx)
529
internal MetadataMember ResolveSimpleFunctionName(string name,
ErrorContext
errCtx)
575
internal MetadataMember ResolveMetadataMemberName(string[] name,
ErrorContext
errCtx)
586
internal ValueExpression ResolvePropertyAccess(DbExpression valueExpr, string name,
ErrorContext
errCtx)
613
private bool TryResolveAsPropertyAccess(DbExpression valueExpr, string name,
ErrorContext
errCtx, out DbExpression propertyExpr)
637
private bool TryResolveAsRefPropertyAccess(DbExpression valueExpr, string name,
ErrorContext
errCtx, out DbExpression propertyExpr)
666
internal ExpressionResolution ResolveEntityContainerMemberAccess(EntityContainer entityContainer, string name,
ErrorContext
errCtx)
679
private bool TryResolveEntityContainerMemberAccess(EntityContainer entityContainer, string name,
ErrorContext
errCtx, out ExpressionResolution resolution)
705
internal MetadataMember ResolveMetadataMemberAccess(MetadataMember metadataMember, string name,
ErrorContext
errCtx)
716
internal bool TryResolveInternalAggregateName(string name,
ErrorContext
errCtx, out DbExpression dbExpression)
950
internal IDisposable EnterFunctionAggregate(AST.MethodExpr methodExpr,
ErrorContext
errCtx, out FunctionAggregateInfo aggregateInfo)
959
internal IDisposable EnterGroupPartition(AST.GroupPartitionExpr groupPartitionExpr,
ErrorContext
errCtx, out GroupPartitionInfo aggregateInfo)
968
internal IDisposable EnterGroupKeyDefinition(GroupAggregateKind aggregateKind,
ErrorContext
errCtx, out GroupKeyAggregateInfo aggregateInfo)
1118
ErrorContext
errCtx,
1417
internal readonly
ErrorContext
ErrCtx;
1456
internal FunctionAggregateInfo(AST.MethodExpr methodExpr,
ErrorContext
errCtx, GroupAggregateInfo containingAggregate, ScopeRegion definingScopeRegion)
1474
internal GroupPartitionInfo(AST.GroupPartitionExpr groupPartitionExpr,
ErrorContext
errCtx, GroupAggregateInfo containingAggregate, ScopeRegion definingScopeRegion)
1492
internal GroupKeyAggregateInfo(GroupAggregateKind aggregateKind,
ErrorContext
errCtx, GroupAggregateInfo containingAggregate, ScopeRegion definingScopeRegion)
System\Data\Common\EntitySql\StaticContext.cs (6)
124
internal abstract DbExpression GetExpression(string refName,
ErrorContext
errCtx);
170
internal override DbExpression GetExpression(string refName,
ErrorContext
errCtx)
332
internal override DbExpression GetExpression(string refName,
ErrorContext
errCtx)
361
internal override DbExpression GetExpression(string refName,
ErrorContext
errCtx)
398
internal override DbExpression GetExpression(string refName,
ErrorContext
errCtx)
418
internal override DbExpression GetExpression(string refName,
ErrorContext
errCtx)
System\Data\Common\EntitySql\TypeResolver.cs (7)
244
internal void AddAliasedNamespaceImport(string alias, MetadataNamespace @namespace,
ErrorContext
errCtx)
257
internal void AddNamespaceImport(MetadataNamespace @namespace,
ErrorContext
errCtx)
332
internal MetadataMember ResolveMetadataMemberName(string[] name,
ErrorContext
errCtx)
350
internal MetadataMember ResolveMetadataMemberAccess(MetadataMember qualifier, string name,
ErrorContext
errCtx)
401
internal MetadataMember ResolveUnqualifiedName(string name, bool partOfQualifiedName,
ErrorContext
errCtx)
513
private MetadataMember ResolveFullyQualifiedName(string[] name, int length,
ErrorContext
errCtx)
545
private static Exception AmbiguousMetadataMemberName(
ErrorContext
errCtx, string name, MetadataNamespace ns1, MetadataNamespace ns2)
System\Data\Common\EntityUtil.cs (2)
372
static internal EntitySqlException EntitySqlError( System.Data.Common.EntitySql.
ErrorContext
errCtx, string message )
383
static internal EntitySqlException EntitySqlError( System.Data.Common.EntitySql.
ErrorContext
errCtx, string message, Exception innerException )
System\Data\EntitySqlException.cs (1)
103
internal static EntitySqlException Create(
ErrorContext
errCtx, string errorMessage, Exception innerException)