7 references to ERR_FieldsInRoStruct
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1857or ErrorCode.ERR_FieldsInRoStruct
Symbols\Source\SourceFieldSymbol.cs (1)
70diagnostics.Add(ErrorCode.ERR_FieldsInRoStruct, ErrorLocation);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Semantics\InlineArrayTests.cs (1)
1996Diagnostic(ErrorCode.ERR_FieldsInRoStruct, "_element3").WithLocation(17, 16)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\ReadOnlyStructsTests.cs (1)
78Diagnostic(ErrorCode.ERR_FieldsInRoStruct, "x").WithLocation(11, 9),
Semantics\RecordStructTests.cs (1)
10654Diagnostic(ErrorCode.ERR_FieldsInRoStruct, "X").WithLocation(4, 16)
Semantics\RefFieldTests.cs (2)
424Diagnostic(ErrorCode.ERR_FieldsInRoStruct, "B1").WithLocation(11, 13), 427Diagnostic(ErrorCode.ERR_FieldsInRoStruct, "B2").WithLocation(12, 22));