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)
1812
or ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedOutVariable
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (12)
Semantics\OutVarTests.cs (12)
18304
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedOutVariable
, "x1").WithArguments("x1").WithLocation(7, 31)
19700
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedOutVariable
, "x1").WithArguments("x1").WithLocation(7, 25),
19743
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedOutVariable
, "x1").WithArguments("x1").WithLocation(7, 25)
20231
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedOutVariable
, "x1").WithArguments("x1").WithLocation(7, 27)
20796
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedOutVariable
, "x1").WithArguments("x1").WithLocation(8, 33),
20802
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedOutVariable
, "x2").WithArguments("x2").WithLocation(13, 33),
20808
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedOutVariable
, "x4").WithArguments("x4").WithLocation(19, 37)
31762
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedOutVariable
, "x1").WithArguments("x1").WithLocation(3, 19)
32421
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedOutVariable
, "x1").WithArguments("x1").WithLocation(2, 24),
32430
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedOutVariable
, "x1").WithArguments("x1").WithLocation(2, 24)
35768
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedOutVariable
, "z").WithArguments("z").WithLocation(7, 32),
35807
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedOutVariable
, "z").WithArguments("z").WithLocation(7, 27),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\NullableReferenceTypesTests.cs (2)
81397
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedOutVariable
, "v").WithArguments("v").WithLocation(12, 21));
81417
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedOutVariable
, "v").WithArguments("v").WithLocation(8, 13)