18 references to ERR_FeatureNotValidInExpressionTree
Microsoft.CodeAnalysis.CSharp (6)
Errors\ErrorFacts.cs (1)
1620or ErrorCode.ERR_FeatureNotValidInExpressionTree
Lowering\DiagnosticsPass_ExpressionTrees.cs (3)
414Error(ErrorCode.ERR_FeatureNotValidInExpressionTree, node, "__reftype"); 424Error(ErrorCode.ERR_FeatureNotValidInExpressionTree, node, "__refvalue"); 434Error(ErrorCode.ERR_FeatureNotValidInExpressionTree, node, "__makeref");
Lowering\DiagnosticsPass_Warnings.cs (2)
258Error(ErrorCode.ERR_FeatureNotValidInExpressionTree, node, method); 280Error(ErrorCode.ERR_FeatureNotValidInExpressionTree, node, ">>>");
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Semantics\ExtensionOperatorsTests.cs (2)
16213Diagnostic(ErrorCode.ERR_FeatureNotValidInExpressionTree, "s1 >>> s1").WithArguments(">>>").WithLocation(22, 54) 16251Diagnostic(ErrorCode.ERR_FeatureNotValidInExpressionTree, "s1 >>> s1").WithArguments(">>>").WithLocation(22, 56)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\ArglistTests.cs (3)
143Diagnostic(ErrorCode.ERR_FeatureNotValidInExpressionTree, "__makeref(S)").WithArguments("__makeref").WithLocation(8, 44), 146Diagnostic(ErrorCode.ERR_FeatureNotValidInExpressionTree, "__reftype(default(TypedReference))").WithArguments("__reftype").WithLocation(9, 42), 152Diagnostic(ErrorCode.ERR_FeatureNotValidInExpressionTree, "__refvalue(default(TypedReference), int)").WithArguments("__refvalue").WithLocation(10, 41),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (7)
Symbols\CheckedUserDefinedOperatorsTests.cs (1)
4869Diagnostic(ErrorCode.ERR_FeatureNotValidInExpressionTree, "x / x").WithArguments("C0.operator checked /(C0, C0)").WithLocation(22, 29)
Symbols\StaticAbstractMembersInInterfacesTests.cs (2)
9948Diagnostic(ErrorCode.ERR_FeatureNotValidInExpressionTree, "b / 4").WithArguments("I1.operator checked /(I1, int)").WithLocation(26, 78) 9968Diagnostic(ErrorCode.ERR_FeatureNotValidInExpressionTree, "b >>> 4").WithArguments(">>>").WithLocation(26, 78)
Symbols\UnsignedRightShiftTests.cs (4)
953Diagnostic(ErrorCode.ERR_FeatureNotValidInExpressionTree, "x >>> y").WithArguments(">>>").WithLocation(6, 86) 1914Diagnostic(ErrorCode.ERR_FeatureNotValidInExpressionTree, "x >>> y").WithArguments(">>>").WithLocation(6, 89) 2323Diagnostic(ErrorCode.ERR_FeatureNotValidInExpressionTree, "x >>> y").WithArguments(">>>").WithLocation(14, 84) 2543Diagnostic(ErrorCode.ERR_FeatureNotValidInExpressionTree, "x >>> y").WithArguments(">>>").WithLocation(14, 87)