163 references to CreateFromFile
ConfigurationSchemaGenerator (1)
ConfigurationSchemaGenerator.Tests (22)
GeneratorTests.cs (22)
46MetadataReference.CreateFromFile(typeof(Attribute).Assembly.Location),
47MetadataReference.CreateFromFile(typeof(Attribute).Assembly.Location.Replace("System.Private.CoreLib", "System.Runtime")),
48MetadataReference.CreateFromFile(typeof(Enumerable).Assembly.Location),
49MetadataReference.CreateFromFile(typeof(HttpContent).Assembly.Location)
454MetadataReference.CreateFromFile(typeof(Uri).Assembly.Location),
455MetadataReference.CreateFromFile(typeof(X509Certificate2).Assembly.Location)
685MetadataReference.CreateFromFile(typeof(TypeConverter).Assembly.Location),
686MetadataReference.CreateFromFile(typeof(TypeConverterAttribute).Assembly.Location),
687MetadataReference.CreateFromFile(typeof(Host).Assembly.Location),
688MetadataReference.CreateFromFile(typeof(IHost).Assembly.Location),
689MetadataReference.CreateFromFile(typeof(IServiceCollection).Assembly.Location),
690MetadataReference.CreateFromFile(typeof(IServiceProvider).Assembly.Location),
691MetadataReference.CreateFromFile(typeof(IConfigurationBuilder).Assembly.Location),
692MetadataReference.CreateFromFile(typeof(ConfigurationManager).Assembly.Location),
693MetadataReference.CreateFromFile(typeof(IOptionsMonitor<>).Assembly.Location),
694MetadataReference.CreateFromFile(typeof(OptionsBuilderConfigurationExtensions).Assembly.Location),
695MetadataReference.CreateFromFile(typeof(BinderOptions).Assembly.Location),
696MetadataReference.CreateFromFile(typeof(Console).Assembly.Location)
755MetadataReference.CreateFromFile(typeof(DynamicAttribute).Assembly.Location),
756MetadataReference.CreateFromFile(typeof(JsonNamingPolicy).Assembly.Location)
784MetadataReference.CreateFromFile(typeof(ConfigurationKeyNameAttribute).Assembly.Location)
824MetadataReference.CreateFromFile(typeof(ConfigurationKeyNameAttribute).Assembly.Location)
IdeCoreBenchmarks (1)
InteractiveHost.UnitTests (1)
Microsoft.Analyzers.Extra.Tests (8)
Microsoft.Analyzers.Local.Tests (4)
Microsoft.AspNetCore.Analyzer.Testing (2)
Microsoft.AspNetCore.Analyzers.Test (1)
Microsoft.AspNetCore.App.Analyzers.Test (1)
Microsoft.AspNetCore.Components.Analyzers.Tests (4)
Microsoft.AspNetCore.Components.SdkAnalyzers.Tests (4)
Microsoft.AspNetCore.Http.Extensions.Tests (1)
Microsoft.AspNetCore.Http.Microbenchmarks (1)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (11)
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (17)
Microsoft.CodeAnalysis.Features (1)
Microsoft.CodeAnalysis.LanguageServer (1)
Microsoft.CodeAnalysis.Scripting.TestUtilities (3)
Microsoft.CodeAnalysis.Test.Utilities (12)
AssemblyLoadTestFixture.cs (12)
194var delta1Reference = MetadataReference.CreateFromFile(Delta1);
225var delta2Reference = MetadataReference.CreateFromFile(Delta2);
245GammaReferencingPublicSigned = GenerateDll("GammaReferencingPublicSigned", _directory.CreateDirectory("GammaReferencingPublicSigned"), GammaSource, MetadataReference.CreateFromFile(DeltaPublicSigned1));
247var gammaReference = MetadataReference.CreateFromFile(Gamma);
301EpsilonReferencingPublicSigned = GenerateDll("EpsilonReferencingPublicSigned", v2PublicSignedDirectory, EpsilonSource, MetadataReference.CreateFromFile(DeltaPublicSigned2));
342var compilerReference = MetadataReference.CreateFromFile(typeof(Microsoft.CodeAnalysis.SyntaxNode).Assembly.Location);
361var userSystemCollectionsImmutableReference = MetadataReference.CreateFromFile(UserSystemCollectionsImmutable);
403", MetadataReference.CreateFromFile(delta1InAnalyzerReferencesDelta1.Path), compilerReference);
416var realSciReference = MetadataReference.CreateFromFile(typeof(ImmutableArray).Assembly.Location);
440}", realSciReference, compilerReference, MetadataReference.CreateFromFile(AnalyzerDependency));
478var fakeCompilerReference = MetadataReference.CreateFromFile(fakeCompilerAssembly);
506var laterCompilerReference = MetadataReference.CreateFromFile(laterFakeCompilerAssembly);
Microsoft.CodeAnalysis.UnitTests (7)
Microsoft.CodeAnalysis.Workspaces.UnitTests (13)
Microsoft.Gen.ComplianceReports.Unit.Tests (4)
Microsoft.Gen.ContextualOptions.Unit.Tests (4)
Microsoft.Gen.Logging.Unit.Tests (13)
Microsoft.Gen.Metrics.Unit.Tests (4)
Microsoft.Gen.MetricsReports.Unit.Tests (4)
Microsoft.ML.CodeAnalyzer.Tests (1)
Microsoft.VisualStudio.LanguageServices (1)
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
Mvc.Analyzers.Test (1)
Mvc.Api.Analyzers.Test (1)
Roslyn.VisualStudio.Next.UnitTests (3)
StackDepthTest (1)
System.Windows.Forms.Design.Tests (3)
System.Windows.Forms.PrivateSourceGenerators.Tests (1)
WinShimmer (3)