61 references to ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Deconstruct.cs (1)
414
Error(diagnostics, ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, pending.Syntax, "_");
BoundTree\VariablePendingInference.cs (1)
17
protected override ErrorCode InferenceFailedError => ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
;
Errors\ErrorFacts.cs (1)
1754
or ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (4)
CodeGen\CodeGenDeconstructTests.cs (4)
5586
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "x").WithArguments("x").WithLocation(2, 6),
5589
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "y").WithArguments("y").WithLocation(2, 9)
5595
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "x").WithArguments("x").WithLocation(2, 6),
5598
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "y").WithArguments("y").WithLocation(2, 9)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (14)
Attributes\AttributeTests_CallerInfoAttributes.cs (2)
1181
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "first").WithArguments("first").WithLocation(29, 14),
1184
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "last").WithArguments("last").WithLocation(29, 21),
Semantics\ExtensionTests.cs (8)
21659
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "x1").WithArguments("x1").WithLocation(1, 6),
21662
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "y1").WithArguments("y1").WithLocation(1, 10),
21675
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "x2").WithArguments("x2").WithLocation(3, 6),
21678
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "y2").WithArguments("y2").WithLocation(3, 10),
21711
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "x").WithArguments("x").WithLocation(1, 6),
21714
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "y").WithArguments("y").WithLocation(1, 9),
21741
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "x").WithArguments("x").WithLocation(1, 6),
21744
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "y").WithArguments("y").WithLocation(1, 9),
Semantics\ExtensionTests2.cs (4)
42
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "x").WithArguments("x").WithLocation(1, 6),
45
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "y").WithArguments("y").WithLocation(1, 9),
69
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "x").WithArguments("x").WithLocation(1, 6),
72
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "y").WithArguments("y").WithLocation(1, 9),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (40)
Semantics\BetterCandidates.cs (2)
308
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "a").WithArguments("a").WithLocation(6, 14),
311
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "b").WithArguments("b").WithLocation(6, 21)
Semantics\DeconstructionTests.cs (19)
2548
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "x1").WithArguments("x1").WithLocation(6, 24),
2551
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "x2").WithArguments("x2").WithLocation(6, 28)
2589
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "x1").WithArguments("x1").WithLocation(6, 24),
2592
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "x2").WithArguments("x2").WithLocation(6, 28)
2643
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "x3").WithArguments("x3").WithLocation(6, 45),
2646
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "x4").WithArguments("x4").WithLocation(6, 54)
2695
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "x3").WithArguments("x3").WithLocation(6, 45)
2738
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "x2").WithArguments("x2").WithLocation(6, 35)
2832
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "y2").WithArguments("y2").WithLocation(7, 25)
2979
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "x1").WithArguments("x1").WithLocation(6, 25),
2982
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "x2").WithArguments("x2").WithLocation(6, 29)
3116
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "x").WithArguments("x").WithLocation(9, 24),
3119
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "y").WithArguments("y").WithLocation(9, 27),
3635
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "x1").WithArguments("x1").WithLocation(6, 33),
3638
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "x2").WithArguments("x2").WithLocation(6, 37)
3714
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "x1").WithArguments("x1").WithLocation(6, 23),
3717
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "x2").WithArguments("x2").WithLocation(6, 27)
6285
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "i").WithArguments("i").WithLocation(6, 23),
6320
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "i").WithArguments("i").WithLocation(6, 14),
Semantics\DelegateTypeTests.cs (9)
10535
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "x1").WithArguments("x1").WithLocation(5, 14),
10538
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "y1").WithArguments("y1").WithLocation(5, 22),
10544
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "x2").WithArguments("x2").WithLocation(6, 14),
10547
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "y2").WithArguments("y2").WithLocation(6, 18),
10568
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "x").WithArguments("x").WithLocation(5, 14),
10571
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "y").WithArguments("y").WithLocation(5, 17));
10591
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "x1").WithArguments("x1").WithLocation(6, 14),
10594
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "y2").WithArguments("y2").WithLocation(7, 25));
10679
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "y").WithArguments("y").WithLocation(6, 19));
Semantics\ImplicitObjectCreationTests.cs (4)
1151
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "_").WithArguments("_").WithLocation(6, 14),
1157
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "_").WithArguments("_").WithLocation(6, 17),
1169
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "var _").WithArguments("_").WithLocation(7, 10),
1175
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "var _").WithArguments("_").WithLocation(7, 17),
Semantics\NullableReferenceTypesTests.cs (4)
82615
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "x").WithArguments("x").WithLocation(5, 14),
82618
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "y").WithArguments("y").WithLocation(5, 17));
134835
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "x").WithArguments("x").WithLocation(7, 14),
134838
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "y").WithArguments("y").WithLocation(7, 17),
Semantics\ReadOnlyStructsTests.cs (2)
2021
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "x").WithArguments("x").WithLocation(6, 14),
2024
Diagnostic(ErrorCode.
ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable
, "y").WithArguments("y").WithLocation(6, 17),