8 references to ERR_RefFieldInNonRefStruct
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2304
or ErrorCode.
ERR_RefFieldInNonRefStruct
Symbols\Source\SourceMemberFieldSymbol.cs (1)
509
diagnostics.Add(ErrorCode.
ERR_RefFieldInNonRefStruct
, ErrorLocation);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
Semantics\RefFieldTests.cs (6)
398
Diagnostic(ErrorCode.
ERR_RefFieldInNonRefStruct
, "g_2").WithLocation(5, 20));
2089
Diagnostic(ErrorCode.
ERR_RefFieldInNonRefStruct
, "F").WithLocation(4, 13));
2095
Diagnostic(ErrorCode.
ERR_RefFieldInNonRefStruct
, "F").WithLocation(4, 13));
2122
Diagnostic(ErrorCode.
ERR_RefFieldInNonRefStruct
, "F").WithLocation(4, 20));
2131
Diagnostic(ErrorCode.
ERR_RefFieldInNonRefStruct
, "F").WithLocation(4, 20));
20920
Diagnostic(ErrorCode.
ERR_RefFieldInNonRefStruct
, "field").WithLocation(12, 20)