16 references to ERR_TypeInferenceFailedForImplicitlyTypedOutVariable
Microsoft.CodeAnalysis.CSharp (2)
BoundTree\VariablePendingInference.cs (1)
22
protected override ErrorCode InferenceFailedError => ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedOutVariable
;
Errors\ErrorFacts.cs (1)
1811
or ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedOutVariable
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (12)
Semantics\OutVarTests.cs (12)
18302
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedOutVariable
, "x1").WithArguments("x1").WithLocation(7, 31)
19689
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedOutVariable
, "x1").WithArguments("x1").WithLocation(7, 25),
19732
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedOutVariable
, "x1").WithArguments("x1").WithLocation(7, 25)
20220
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedOutVariable
, "x1").WithArguments("x1").WithLocation(7, 27)
20785
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedOutVariable
, "x1").WithArguments("x1").WithLocation(8, 33),
20791
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedOutVariable
, "x2").WithArguments("x2").WithLocation(13, 33),
20797
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedOutVariable
, "x4").WithArguments("x4").WithLocation(19, 37)
31751
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedOutVariable
, "x1").WithArguments("x1").WithLocation(3, 19)
32410
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedOutVariable
, "x1").WithArguments("x1").WithLocation(2, 24),
32419
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedOutVariable
, "x1").WithArguments("x1").WithLocation(2, 24)
35756
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedOutVariable
, "z").WithArguments("z").WithLocation(7, 32),
35795
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedOutVariable
, "z").WithArguments("z").WithLocation(7, 27),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\NullableReferenceTypesTests.cs (2)
81419
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedOutVariable
, "v").WithArguments("v").WithLocation(12, 21));
81439
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedOutVariable
, "v").WithArguments("v").WithLocation(8, 13)