8 references to ERR_ExtensionTypeNameDisallowed
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2517
or ErrorCode.
ERR_ExtensionTypeNameDisallowed
Symbols\Source\SourceMemberContainerSymbol.cs (1)
512
|| reportIfContextual(SyntaxKind.ExtensionKeyword, MessageID.IDS_FeatureExtensions, ErrorCode.
ERR_ExtensionTypeNameDisallowed
))
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (6)
Semantics\ExtensionTests.cs (6)
44194
Diagnostic(ErrorCode.
ERR_ExtensionTypeNameDisallowed
, "extension").WithLocation(1, 7),
44197
Diagnostic(ErrorCode.
ERR_ExtensionTypeNameDisallowed
, "extension").WithLocation(2, 7),
44200
Diagnostic(ErrorCode.
ERR_ExtensionTypeNameDisallowed
, "extension").WithLocation(3, 9));
44206
Diagnostic(ErrorCode.
ERR_ExtensionTypeNameDisallowed
, "extension").WithLocation(1, 7),
44209
Diagnostic(ErrorCode.
ERR_ExtensionTypeNameDisallowed
, "extension").WithLocation(2, 7),
44212
Diagnostic(ErrorCode.
ERR_ExtensionTypeNameDisallowed
, "extension").WithLocation(3, 9));