1 write to LanguageName
Microsoft.CodeAnalysis.Features (1)
MetadataAsSource\MetadataAsSourceGeneratedFileInfo.cs (1)
32
this.
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();
42
var extension =
LanguageName
== LanguageNames.CSharp ? ".cs" : ".vb";
63
var compilationOptions = services.GetRequiredLanguageService<ICompilationFactoryService>(
LanguageName
).GetDefaultCompilationOptions().WithOutputKind(OutputKind.DynamicallyLinkedLibrary);
65
var extension =
LanguageName
== LanguageNames.CSharp ? ".cs" : ".vb";
70
var assemblyInfoString =
LanguageName
== LanguageNames.CSharp
99
language:
LanguageName
,