2 references to ERR_ProtectedInStruct
Microsoft.CodeAnalysis.CSharp (2)
Binder\Semantics\AccessCheck.cs (1)
698return containingType.TypeKind == TypeKind.Struct ? ErrorCode.ERR_ProtectedInStruct : ErrorCode.WRN_ProtectedInSealed;
Errors\ErrorFacts.cs (1)
1019or ErrorCode.ERR_ProtectedInStruct