4 references to ERR_TypeMustBePublic
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2147
or ErrorCode.
ERR_TypeMustBePublic
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (1)
221
diagnostics.Add(ErrorCode.
ERR_TypeMustBePublic
, specifier.GetLocation(), specifierType);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
CodeGen\CodeGenFunctionPointersTests.cs (2)
7567
Diagnostic(ErrorCode.
ERR_TypeMustBePublic
, "Test").WithArguments("System.Runtime.CompilerServices.CallConvTest").WithLocation(23, 29)
7587
Diagnostic(ErrorCode.
ERR_TypeMustBePublic
, "Test").WithArguments("System.Runtime.CompilerServices.CallConvTest").WithLocation(7, 29)