public Test()
 {
     MetadataReferences.AddRange(new[]
     {
         CorlibReference,
         SystemCoreReference,
         CSharpSymbolsReference,
         CodeAnalysisReference,
         AnalyzerReference,
         AttributeReference,
         ImmutableReference,
         NetStandard2Reference
     });
 }
 public VisualBasicProjectOptions WithAdditionalMetadataReferences(MetadataReference[] metadataReferences)
 {
     return(new VisualBasicProjectOptions(MetadataReferences.AddRange(metadataReferences), CompilationOptions));
 }
Exemplo n.º 3
0
 public CSharpProjectOptions WithAdditionalMetadataReferences(MetadataReference[] metadataReferences)
 {
     return(new CSharpProjectOptions(MetadataReferences.AddRange(metadataReferences), CompilationOptions));
 }