26 references to ERR_UnassignedThisAutoPropertyUnsupportedVersion
Microsoft.CodeAnalysis.CSharp (3)
Errors\ErrorFacts.cs (1)
1128
or ErrorCode.
ERR_UnassignedThisAutoPropertyUnsupportedVersion
FlowAnalysis\DefiniteAssignment.cs (2)
506
hasAssociatedProperty ? ErrorCode.
ERR_UnassignedThisAutoPropertyUnsupportedVersion
: ErrorCode.ERR_UnassignedThisUnsupportedVersion,
609
ErrorCode.
ERR_UnassignedThisAutoPropertyUnsupportedVersion
=> ErrorCode.WRN_UnassignedThisAutoPropertyUnsupportedVersion,
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (5)
FlowAnalysis\FlowDiagnosticTests.cs (5)
1295
Diagnostic(ErrorCode.
ERR_UnassignedThisAutoPropertyUnsupportedVersion
, "Program").WithArguments("Program.X", "11.0").WithLocation(5, 12));
1405
Diagnostic(ErrorCode.
ERR_UnassignedThisAutoPropertyUnsupportedVersion
, "Program").WithArguments("Program.x", "11.0").WithLocation(14, 12),
1408
Diagnostic(ErrorCode.
ERR_UnassignedThisAutoPropertyUnsupportedVersion
, "Program").WithArguments("Program.x2", "11.0").WithLocation(14, 12));
1462
Diagnostic(ErrorCode.
ERR_UnassignedThisAutoPropertyUnsupportedVersion
, "Program").WithArguments("Program.x", "11.0").WithLocation(14, 12),
1465
Diagnostic(ErrorCode.
ERR_UnassignedThisAutoPropertyUnsupportedVersion
, "Program").WithArguments("Program.x2", "11.0").WithLocation(14, 12));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (18)
Semantics\RecordStructTests.cs (3)
1968
Diagnostic(ErrorCode.
ERR_UnassignedThisAutoPropertyUnsupportedVersion
, "C").WithArguments("C.X", "11.0").WithLocation(3, 15),
2232
Diagnostic(ErrorCode.
ERR_UnassignedThisAutoPropertyUnsupportedVersion
, "C1").WithArguments("C1.O1", "11.0").WithLocation(2, 15),
2933
Diagnostic(ErrorCode.
ERR_UnassignedThisAutoPropertyUnsupportedVersion
, "R").WithArguments("R.P", "11.0").WithLocation(2, 15),
Semantics\SemanticErrorTests.cs (1)
12980
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),