26 references to ERR_UnassignedThisAutoPropertyUnsupportedVersion
Microsoft.CodeAnalysis.CSharp (3)
Errors\ErrorFacts.cs (1)
1066
case ErrorCode.
ERR_UnassignedThisAutoPropertyUnsupportedVersion
:
FlowAnalysis\DefiniteAssignment.cs (2)
496
hasAssociatedProperty ? ErrorCode.
ERR_UnassignedThisAutoPropertyUnsupportedVersion
: ErrorCode.ERR_UnassignedThisUnsupportedVersion,
579
ErrorCode.
ERR_UnassignedThisAutoPropertyUnsupportedVersion
=> ErrorCode.WRN_UnassignedThisAutoPropertyUnsupportedVersion,
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (5)
FlowAnalysis\FlowDiagnosticTests.cs (5)
1277
Diagnostic(ErrorCode.
ERR_UnassignedThisAutoPropertyUnsupportedVersion
, "Program").WithArguments("Program.X", "11.0").WithLocation(5, 12));
1387
Diagnostic(ErrorCode.
ERR_UnassignedThisAutoPropertyUnsupportedVersion
, "Program").WithArguments("Program.x", "11.0").WithLocation(14, 12),
1390
Diagnostic(ErrorCode.
ERR_UnassignedThisAutoPropertyUnsupportedVersion
, "Program").WithArguments("Program.x2", "11.0").WithLocation(14, 12));
1444
Diagnostic(ErrorCode.
ERR_UnassignedThisAutoPropertyUnsupportedVersion
, "Program").WithArguments("Program.x", "11.0").WithLocation(14, 12),
1447
Diagnostic(ErrorCode.
ERR_UnassignedThisAutoPropertyUnsupportedVersion
, "Program").WithArguments("Program.x2", "11.0").WithLocation(14, 12));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (18)
Semantics\RecordStructTests.cs (3)
1896
Diagnostic(ErrorCode.
ERR_UnassignedThisAutoPropertyUnsupportedVersion
, "C").WithArguments("C.X", "11.0").WithLocation(3, 15),
2160
Diagnostic(ErrorCode.
ERR_UnassignedThisAutoPropertyUnsupportedVersion
, "C1").WithArguments("C1.O1", "11.0").WithLocation(2, 15),
2861
Diagnostic(ErrorCode.
ERR_UnassignedThisAutoPropertyUnsupportedVersion
, "R").WithArguments("R.P", "11.0").WithLocation(2, 15),
Semantics\SemanticErrorTests.cs (1)
12930
Diagnostic(ErrorCode.
ERR_UnassignedThisAutoPropertyUnsupportedVersion
, "S").WithArguments("S.AIProp", "11.0").WithLocation(5, 12));
Semantics\StructConstructorTests.cs (12)
2633
Diagnostic(ErrorCode.
ERR_UnassignedThisAutoPropertyUnsupportedVersion
, "S2").WithArguments("S2.Y", "11.0").WithLocation(11, 12),
2642
Diagnostic(ErrorCode.
ERR_UnassignedThisAutoPropertyUnsupportedVersion
, "S3").WithArguments("S3.X", "11.0").WithLocation(17, 12),
2657
Diagnostic(ErrorCode.
ERR_UnassignedThisAutoPropertyUnsupportedVersion
, "S2").WithArguments("S2.Y", "11.0").WithLocation(11, 12),
2660
Diagnostic(ErrorCode.
ERR_UnassignedThisAutoPropertyUnsupportedVersion
, "S3").WithArguments("S3.X", "11.0").WithLocation(17, 12));
2707
Diagnostic(ErrorCode.
ERR_UnassignedThisAutoPropertyUnsupportedVersion
, "S2").WithArguments("S2.Y", "11.0").WithLocation(11, 12),
2710
Diagnostic(ErrorCode.
ERR_UnassignedThisAutoPropertyUnsupportedVersion
, "S3").WithArguments("S3.X", "11.0").WithLocation(17, 12));
2760
Diagnostic(ErrorCode.
ERR_UnassignedThisAutoPropertyUnsupportedVersion
, "S2").WithArguments("S2.Y", "11.0").WithLocation(10, 15),
2763
Diagnostic(ErrorCode.
ERR_UnassignedThisAutoPropertyUnsupportedVersion
, "S3").WithArguments("S3.X", "11.0").WithLocation(15, 15));
2865
Diagnostic(ErrorCode.
ERR_UnassignedThisAutoPropertyUnsupportedVersion
, "S2").WithArguments("S2.Y", "11.0").WithLocation(10, 15),
2871
Diagnostic(ErrorCode.
ERR_UnassignedThisAutoPropertyUnsupportedVersion
, "S3").WithArguments("S3.X", "11.0").WithLocation(15, 15),
2936
Diagnostic(ErrorCode.
ERR_UnassignedThisAutoPropertyUnsupportedVersion
, "S2").WithArguments("S2.X", "11.0").WithLocation(10, 15),
2942
Diagnostic(ErrorCode.
ERR_UnassignedThisAutoPropertyUnsupportedVersion
, "S3").WithArguments("S3.Y", "11.0").WithLocation(15, 15),
Semantics\UninitializedNonNullableFieldTests.cs (2)
860
Diagnostic(ErrorCode.
ERR_UnassignedThisAutoPropertyUnsupportedVersion
, "S1").WithArguments("S1.Prop", "11.0").WithLocation(5, 12),
1792
Diagnostic(ErrorCode.
ERR_UnassignedThisAutoPropertyUnsupportedVersion
, "S").WithArguments("S.P", "11.0").WithLocation(6, 14),