2 references to ERR_RefFieldCannotReferToRefStruct
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2288or ErrorCode.ERR_RefFieldCannotReferToRefStruct
Symbols\Source\SourceMemberFieldSymbol.cs (1)
501diagnostics.Add(ErrorCode.ERR_RefFieldCannotReferToRefStruct, typeSyntax.SkipScoped(out _).Location);