12 references to IsValidMetadataIdentifier
Microsoft.CodeAnalysis (12)
CommandLine\CommandLineParser.cs (2)
307
!MetadataHelpers.
IsValidMetadataIdentifier
(outputDirectory) ||
308
!MetadataHelpers.
IsValidMetadataIdentifier
(outputFileName))
MetadataReader\MetadataDecoder.cs (2)
514
Debug.Assert(MetadataHelpers.
IsValidMetadataIdentifier
(name));
637
Debug.Assert(MetadataHelpers.
IsValidMetadataIdentifier
(name));
MetadataReader\MetadataHelpers.cs (1)
1031
return FileNameUtilities.IsFileName(name) &&
IsValidMetadataIdentifier
(name);
MetadataReader\MetadataReaderExtensions.cs (2)
104
if (!MetadataHelpers.
IsValidMetadataIdentifier
(nameStr))
110
if (cultureName != null && !MetadataHelpers.
IsValidMetadataIdentifier
(cultureName))
MetadataReader\PEModule.cs (2)
530
Debug.Assert(name.Length == 0 || MetadataHelpers.
IsValidMetadataIdentifier
(name)); // Obfuscated assemblies can have types with empty names.
2869
Debug.Assert(MetadataHelpers.
IsValidMetadataIdentifier
(name));
MetadataReader\TypeNameDecoder.cs (2)
157
Debug.Assert(MetadataHelpers.
IsValidMetadataIdentifier
(fullName.TopLevelType));
173
Debug.Assert(MetadataHelpers.
IsValidMetadataIdentifier
(fullName.NestedTypes[i]));
ResourceDescription.cs (1)
74
if (!MetadataHelpers.
IsValidMetadataIdentifier
(resourceName))