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