5 references to ERR_ExtensionCollectionElementInitializerInExpressionTree
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1704
or ErrorCode.
ERR_ExtensionCollectionElementInitializerInExpressionTree
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
550
Error(ErrorCode.
ERR_ExtensionCollectionElementInitializerInExpressionTree
, node);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Semantics\ExtensionTests.cs (2)
28490
Diagnostic(ErrorCode.
ERR_ExtensionCollectionElementInitializerInExpressionTree
, "42").WithLocation(6, 76)
28524
Diagnostic(ErrorCode.
ERR_ExtensionCollectionElementInitializerInExpressionTree
, "42").WithLocation(6, 76)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\SemanticErrorTests.cs (1)
24428
Diagnostic(ErrorCode.
ERR_ExtensionCollectionElementInitializerInExpressionTree
, "42").WithLocation(25, 72)