3 writes to CodeLanguage
Microsoft.Build.Tasks.Core (3)
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (3)
297
CodeLanguage
= "CS",
477
taskInfo.
CodeLanguage
= languageAttribute.Value.ToUpperInvariant();
488
taskInfo.
CodeLanguage
= validLanguage.Key;
6 references to CodeLanguage
Microsoft.Build.Tasks.Core (5)
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (5)
255
using (CodeDomProvider provider = CodeDomProvider.CreateProvider(taskInfo.
CodeLanguage
))
539
if (DefaultReferences.ContainsKey(taskInfo.
CodeLanguage
))
542
references = references.Union(DefaultReferences[taskInfo.
CodeLanguage
]);
700
if (taskInfo.
CodeLanguage
.Equals("CS"))
714
else if (taskInfo.
CodeLanguage
.Equals("VB"))
Microsoft.Build.Tasks.UnitTests (1)
RoslynCodeTaskFactory_Tests.cs (1)
839
taskInfo.
CodeLanguage
.ShouldBe(expectedCodeLanguage);