14 references to Module
Microsoft.CodeAnalysis (1)
MetadataReference\ModuleMetadata.cs (1)
385return new MetadataImageReference(this, MetadataReferenceProperties.Module, documentation, filePath, display);
Microsoft.CodeAnalysis.CSharp (1)
CommandLine\CSharpCommandLineParser.cs (1)
710metadataReferences.AddRange(ParseSeparatedPaths(value).Select(path => new CommandLineReference(path, MetadataReferenceProperties.Module)));
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (2)
CommandLineTests.cs (2)
2663Assert.Equal(MetadataReferenceProperties.Module, parsedArgs.MetadataReferences[1].Properties); 2679Assert.Equal(MetadataReferenceProperties.Module, parsedArgs.MetadataReferences[3].Properties);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Compilation\CompilationAPITests.cs (2)
3101var moduleReference = MetadataReference.CreateFromStream(moduleStream, MetadataReferenceProperties.Module); 3120var moduleReference = MetadataReference.CreateFromStream(moduleStream, MetadataReferenceProperties.Module);
Microsoft.CodeAnalysis.UnitTests (8)
MetadataReferences\MetadataReferencePropertiesTests.cs (4)
35Assert.Equal(MetadataReferenceProperties.Module, new MetadataReferenceProperties(MetadataImageKind.Module, ImmutableArray<string>.Empty, false)); 48Assert.Throws<ArgumentException>(() => MetadataReferenceProperties.Module.WithAliases(ImmutableArray.Create("blah"))); 49Assert.Throws<ArgumentException>(() => MetadataReferenceProperties.Module.WithAliases(new[] { "blah" })); 50Assert.Throws<ArgumentException>(() => MetadataReferenceProperties.Module.WithEmbedInteropTypes(true));
MetadataReferences\MetadataReferenceTests.cs (4)
81? MetadataReference.CreateFromImage(peImage.AsImmutable(), MetadataReferenceProperties.Module) 82: MetadataReference.CreateFromImage(peImage.AsEnumerable(), MetadataReferenceProperties.Module); 147MetadataReferenceProperties.Module); 187var r = MetadataReference.CreateFromFile(file.Path, MetadataReferenceProperties.Module);