108 references to Internal
Microsoft.CodeAnalysis (1)
MetadataReader\ModuleExtensions.cs (1)
48return importOptions >= MetadataImportOptions.Internal;
Microsoft.CodeAnalysis.CSharp (2)
Symbols\ReferenceManager.cs (1)
1008return MetadataImportOptions.Internal;
Symbols\Source\SourceAssemblySymbol.cs (1)
134MetadataImportOptions.All : MetadataImportOptions.Internal;
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (9)
CodeGen\CodeGenAsyncLocalsTests.cs (1)
962var comp = CreateCompilationWithMscorlib461("", new[] { reference }, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal));
CodeGen\SwitchTests.cs (1)
3040var comp = CSharpCompilation.Create("Name", references: new[] { reference }, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal));
Emit\EmitMetadataTests.cs (7)
120}, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal)); 579CompileAndVerify(source, sourceSymbolValidator: validator(true), symbolValidator: validator(false), options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal)); 673CompileAndVerify(source: source, sourceSymbolValidator: validator(true), symbolValidator: validator(false), options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal)); 741CompileAndVerify(source: source, sourceSymbolValidator: validator(true), symbolValidator: validator(false), options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal)); 888CompileAndVerify(source: source, sourceSymbolValidator: validator(true), symbolValidator: validator(false), options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal)); 941options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.Internal)); 1011options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.Internal));
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Attributes\AttributeTests_Synthesized.cs (2)
125var comp = CreateEmptyCompilation("", new[] { reference }, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal)); 146var comp = CreateEmptyCompilation("", new[] { reference }, options: TestOptions.UnsafeReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (26)
Compilation\CSharpCompilationOptionsTests.cs (1)
139TestProperty((old, value) => old.WithMetadataImportOptions(value), opt => opt.MetadataImportOptions, MetadataImportOptions.Internal);
Compilation\ReferenceManagerTests.cs (3)
1837var cInternal = CreateCompilation("class D { }", options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal)); 1841var cInternal2 = CreateCompilation("class D { }", options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal)); 1873var mainInternal = CreateCompilation(mainSource, new[] { moduleRef }, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal));
Symbols\AnonymousTypesSymbolTests.cs (1)
1452var compilation = CreateCompilationWithMscorlib40(new string[] { source1, source2, source3 }, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal), parseOptions: TestOptions.Regular);
Symbols\ExtensionMethodTests.cs (3)
57CompileAndVerify(source, validator: validator, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal)); 2476options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal)); 2522var compilation = CreateCompilation(source, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal));
Symbols\IndexerTests.cs (1)
70options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal));
Symbols\Metadata\MetadataMemberTests.cs (8)
695options = options.WithMetadataImportOptions(MetadataImportOptions.Internal); 696Assert.Equal(MetadataImportOptions.Internal, options.MetadataImportOptions); 710commonOptions = commonOptions.WithMetadataImportOptions(MetadataImportOptions.Internal); 711Assert.Equal(MetadataImportOptions.Internal, ((CSharpCompilationOptions)commonOptions).MetadataImportOptions); 741compilation = compilation.WithOptions(options.WithMetadataImportOptions(MetadataImportOptions.Internal)); 773var options = TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.Internal); 774Assert.Equal(MetadataImportOptions.Internal, options.MetadataImportOptions); 796var compilation = CreateCompilation("", options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.Internal), references: new[] { compilation0.EmitToImageReference() });
Symbols\Metadata\MetadataTypeTests.cs (3)
117var compilation = CreateEmptyCompilation(text, new[] { MscorlibRef }, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal)); 217options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal)); 284options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal));
Symbols\Metadata\PE\LoadingFields.cs (1)
29options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal));
Symbols\Metadata\PE\LoadingMethods.cs (1)
36options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal));
Symbols\Source\ExpressionBodiedMethodTests.cs (2)
340}", options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.Internal)); 369}", options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.Internal));
Symbols\Source\ExpressionBodiedPropertyTests.cs (1)
444}", options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.Internal));
Symbols\Source\PropertyTests.cs (1)
789var compilation = CompileWithCustomPropertiesAssembly(source, TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal));
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
CSharpTestBase.cs (1)
1503compilationOptions = compilationOptions.WithMetadataImportOptions(MetadataImportOptions.Internal);
Microsoft.CodeAnalysis.VisualBasic (2)
Symbols\ReferenceManager.vb (1)
861Return MetadataImportOptions.Internal
Symbols\Source\SourceAssemblySymbol.vb (1)
95MetadataImportOptions.Internal)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (11)
Attributes\AttributeTests_Synthesized.vb (1)
67Dim comp = VisualBasicCompilation.Create("Name", references:={reference}, options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal))
CodeGen\CodeGenSelectCase.vb (1)
3366Dim comp = VisualBasicCompilation.Create("Name", references:={reference}, options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal))
CodeGen\CodeGenVBCore.vb (7)
126options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal)) 152options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal)) 200options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal)) 254options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal)) 477options:=TestOptions.DebugExe.WithEmbedVbCoreRuntime(True).WithMetadataImportOptions(MetadataImportOptions.Internal)) 2495options:=TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.Internal)) 3303WithMetadataImportOptions(MetadataImportOptions.Internal).
Emit\EmitMetadata.vb (2)
95TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal)) 894CompileAndVerify(sources, sourceSymbolValidator:=validator(True), symbolValidator:=validator(False), options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal))
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (3)
Compilation\ReferenceManagerTests.vb (3)
1538Dim cInternal = CreateCompilationWithMscorlib40(<code></code>, options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal)) 1541Dim cInternal2 = CreateCompilationWithMscorlib40(<code></code>, options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal)) 1576Dim mainInternal = CreateCompilationWithMscorlib40AndReferences(mainSource, {moduleRef}, options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal))
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (50)
SymbolsTests\Metadata\MetadataMemberTests.vb (8)
944options = options.WithMetadataImportOptions(MetadataImportOptions.Internal) 945Assert.Equal(MetadataImportOptions.Internal, options.MetadataImportOptions) 959commonOptions = commonOptions.WithMetadataImportOptions(MetadataImportOptions.Internal) 960Assert.Equal(MetadataImportOptions.Internal, DirectCast(commonOptions, VisualBasicCompilationOptions).MetadataImportOptions) 991compilation = compilation.WithOptions(options.WithMetadataImportOptions(MetadataImportOptions.Internal)) 1025options = New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, metadataImportOptions:=MetadataImportOptions.Internal) 1026Assert.Equal(MetadataImportOptions.Internal, options.MetadataImportOptions) 1049Dim compilation = CreateCompilationWithMscorlib40("", options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, metadataImportOptions:=MetadataImportOptions.Internal), references:={compilation0.EmitToImageReference()})
SymbolsTests\Metadata\MetadataTypeTests.vb (3)
153</compilation>, options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal)) 262</compilation>, options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal)) 314</compilation>, options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal))
SymbolsTests\Source\ComClassTests.vb (36)
1402options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal), 1476options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal), 1600options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal), 1684options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal), 1728options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal), 1850options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal), 2852options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal), 3209options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal), 3362options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal), 3515options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal), 3693options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal), 3825options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal), 4139options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal), 4516options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal), 4708options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal), 4900options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal), 5092options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal), 5291options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal), 5507options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal), 5723options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal), 5939options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal), 6162options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal), 6337options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal), 6519options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal), 6648options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal), 6784options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal), 6898options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal), 6978options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal), 7124options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal), 7303options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal), 7500options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal), 7799options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal), 7968options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal), 8076options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal), 8123options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal), 8161options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal),
SymbolsTests\Source\PropertyTests.vb (3)
1266options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal)) 4531CompileAndVerify(source, symbolValidator:=validator(False), sourceSymbolValidator:=validator(True), options:=TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal)) 4700Dim compilation = CompileWithCustomPropertiesAssembly(source, TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal))
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (1)
MetadataHelpers.vb (1)
56Dim options = If(importInternals, TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal), TestOptions.ReleaseDll)