11 references to CompilationExtensions
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)
Symbols\DefaultInterfaceImplementationTests.cs (3)
62622var windowsRuntimeRef = CompilationExtensions.CreateWindowsRuntimeMetadataReference(TargetFramework.Net50); 62780var comp = CreateCompilation(source, options: TestOptions.DebugWinMD, targetFramework: TargetFramework.NetCoreApp, references: new[] { CompilationExtensions.CreateWindowsRuntimeMetadataReference() }); 62833var comp = CreateCompilation(source, options: TestOptions.DebugWinMD, targetFramework: TargetFramework.NetCoreApp, references: new[] { CompilationExtensions.CreateWindowsRuntimeMetadataReference() });
Microsoft.CodeAnalysis.CSharp.Test.Utilities (2)
CSharpTestBase.cs (2)
1345CompilationExtensions.ValidateIOperations(createCompilationLambda); 1352if (!CompilationExtensions.EnableVerifyUsedAssemblies)
Microsoft.CodeAnalysis.Test.Utilities (2)
Assert\ConditionalFactAttribute.cs (2)
376public override bool ShouldSkip => CompilationExtensions.EnableVerifyIOperation; 382public override bool ShouldSkip => CompilationExtensions.EnableVerifyUsedAssemblies;
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (2)
SymbolsTests\DefaultInterfaceImplementationTests.vb (2)
11460additionalReferences:=New MetadataReference() {CompilationExtensions.CreateWindowsRuntimeMetadataReference()}).EmitToImageReference() 11495Dim comp1 = CreateCompilation(source1, options:=TestOptions.DebugDll, targetFramework:=TargetFramework.NetCoreApp, references:={csCompilation, CompilationExtensions.CreateWindowsRuntimeMetadataReference()})
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (2)
CompilationTestUtils.vb (2)
78CompilationExtensions.ValidateIOperations(createCompilationLambda) 84If Not CompilationExtensions.EnableVerifyUsedAssemblies Then