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