45 references to WinRtRefs
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (4)
CodeGen\CodeGenDeconstructTests.cs (4)
7834var comp1 = CreateEmptyCompilation(source1, WinRtRefs, TestOptions.ReleaseWinMD, TestOptions.Regular); 7864Handler", references: WinRtRefs.Concat(new[] { ValueTupleRef, comp1.ToMetadataReference() })); 7881var comp1 = CreateEmptyCompilation(source1, WinRtRefs, TestOptions.ReleaseWinMD, TestOptions.Regular); 7927Handler", references: WinRtRefs.Concat(new[] { ValueTupleRef, comp1.ToMetadataReference() }));
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (11)
Attributes\AttributeTests_WellKnownAttributes.cs (11)
9779var compilation1 = CreateEmptyCompilation(source1, WinRtRefs, TestOptions.ReleaseDll); 9844var compilation2 = CreateEmptyCompilation(source2, WinRtRefs.Concat(new[] { new CSharpCompilationReference(compilation1) }), TestOptions.ReleaseDll); 9872compilation2 = CreateEmptyCompilation(source2, WinRtRefs.Concat(new[] { compilation1.EmitToImageReference() }), TestOptions.ReleaseDll); 9905? CreateEmptyCompilation(new[] { (libSrc, "libSrc"), (src, "src") }, WinRtRefs, TestOptions.ReleaseDll) 9907references: WinRtRefs.Append(CreateEmptyCompilation(new[] { libSrc }, WinRtRefs, TestOptions.ReleaseDll).EmitToImageReference()).ToArray(), 10171var compilation1 = CreateEmptyCompilation(source1, WinRtRefs, TestOptions.ReleaseDll); 10208var compilation1 = CreateEmptyCompilation(source1, WinRtRefs, TestOptions.ReleaseDll); 10224var compilation2 = CreateEmptyCompilation(source2, WinRtRefs.Concat(new[] { new CSharpCompilationReference(compilation1) }), TestOptions.ReleaseDll); 13679CreateEmptyCompilation(code, references: WinRtRefs, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp7_3)).VerifyDiagnostics( 13731CreateEmptyCompilation(code, references: WinRtRefs, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp7_3)).VerifyDiagnostics(
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
SymbolDisplay\SymbolDisplayTests.cs (1)
4706var comp = CreateEmptyCompilation(source, WinRtRefs, TestOptions.ReleaseWinMD);
Symbols\MissingSpecialMember.cs (2)
596}.Concat(WinRtRefs).ToArray(); 937}.Concat(WinRtRefs).ToArray();
Symbols\Source\ClsComplianceTests.cs (1)
3314var comp = CreateEmptyCompilation(source, WinRtRefs, options: TestOptions.ReleaseWinMD);
Microsoft.CodeAnalysis.CSharp.WinRT.UnitTests (22)
CodeGen\WinMdEventTests.cs (4)
623var comp1 = CreateEmptyCompilation(source1, WinRtRefs, TestOptions.ReleaseWinMD, TestOptions.Regular, "Lib"); 627var comp2 = CreateEmptyCompilation(source2, WinRtRefs.Concat(new MetadataReference[] { new CSharpCompilationReference(comp1), serializationRef, SystemXmlRef }), TestOptions.ReleaseExe); 648var comp = CreateEmptyCompilation(source, WinRtRefs, TestOptions.ReleaseWinMD, TestOptions.Regular7); 668var comp = CreateEmptyCompilation(source, WinRtRefs, TestOptions.ReleaseWinMD);
CodeGen\WinRTCollectionTests.cs (3)
48var comp = CreateEmptyCompilation(source, references: WinRtRefs); 354var comp = CreateEmptyCompilation(source, references: WinRtRefs); 7418var comp = CreateEmptyCompilation(source, references: WinRtRefs);
Metadata\WinMdEventTests.cs (13)
2839var comp = CreateEmptyCompilation(source, WinRtRefs.Concat(new[] { ilRef })); 2914var comp = CreateEmptyCompilation(source, WinRtRefs, TestOptions.CreateTestOptions(kind, OptimizationLevel.Debug)); 2958var comp = CreateEmptyCompilation(source, WinRtRefs.Concat(new[] { ilRef }), TestOptions.CreateTestOptions(kind, OptimizationLevel.Debug)); 3027var comp = CreateEmptyCompilation(source, WinRtRefs.Concat(new[] { interfaceILRef, baseILRef }), TestOptions.CreateTestOptions(kind, OptimizationLevel.Debug)); 3093var comp = CreateEmptyCompilation(source, WinRtRefs.Concat(new[] { ilRef }), TestOptions.CreateTestOptions(kind, OptimizationLevel.Debug)); 3165var comp = CreateEmptyCompilation(source, WinRtRefs.Concat(new[] { ilRef })); 3192var comp = CreateEmptyCompilation(source, WinRtRefs.Concat(new[] { ilRef })); 3218var comp = CreateEmptyCompilation(source, WinRtRefs.Concat(new[] { interfaceILRef, baseILRef })); 3249var comp = CreateEmptyCompilation(source, WinRtRefs.Concat(new[] { interfaceILRef, baseILRef })); 3288var comp = CreateEmptyCompilation(source, WinRtRefs, TestOptions.CreateTestOptions(kind, OptimizationLevel.Debug)); 3379CreateEmptyCompilation(source, WinRtRefs, TestOptions.ReleaseWinMD).VerifyDiagnostics( 3499var compilation = CreateCompilationWithIL("", il, targetFramework: TargetFramework.Empty, references: WinRtRefs); 3556var comp = CreateEmptyCompilation("", WinRtRefs.Concat(new[] { ilRef }), TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
Metadata\WinMdMetadataTests.cs (2)
158CompileAndVerify(text, WinRtRefs, targetFramework: TargetFramework.Empty, expectedOutput: "#FF000000"); 234WinRtRefs.Concat(new[] { AssemblyMetadata.CreateFromImage(TestResources.WinRt.W1).GetReference() }),
Microsoft.CodeAnalysis.Test.Utilities (1)
TargetFrameworkUtil.cs (1)
185.. TestBase.WinRtRefs
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (1)
CompilationTestUtils.vb (1)
166Return CreateEmptyCompilationWithReferences(source, WinRtRefs)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (2)
Workspaces\TestWorkspace_XmlConsumption.cs (2)
883references = new List<MetadataReference>(TestBase.WinRtRefs.Length); 884references.AddRange(TestBase.WinRtRefs);