1 write to LanguageName
Microsoft.CodeAnalysis.Features (1)
MetadataAsSource\MetadataAsSourceGeneratedFileInfo.cs (1)
32this.LanguageName = signaturesOnly ? sourceProject.Language : LanguageNames.CSharp;
7 references to LanguageName
Microsoft.CodeAnalysis.Features (7)
MetadataAsSource\MetadataAsSourceGeneratedFileInfo.cs (7)
35_parseOptions = sourceProject.Language == LanguageName 37: sourceProject.Solution.Services.GetLanguageServices(LanguageName).GetRequiredService<ISyntaxTreeFactoryService>().GetDefaultParseOptionsWithLatestLanguageVersion(); 42var extension = LanguageName == LanguageNames.CSharp ? ".cs" : ".vb"; 63var compilationOptions = services.GetRequiredLanguageService<ICompilationFactoryService>(LanguageName).GetDefaultCompilationOptions().WithOutputKind(OutputKind.DynamicallyLinkedLibrary); 65var extension = LanguageName == LanguageNames.CSharp ? ".cs" : ".vb"; 70var assemblyInfoString = LanguageName == LanguageNames.CSharp 99language: LanguageName,