1 write to Tree
Microsoft.CodeAnalysis.Test.Utilities (1)
MarkedSource\SourceWithMarkedNodes.cs (1)
46Tree = parser(Source);
555 references to Tree
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (371)
Emit\EditAndContinue\AssemblyReferencesTests.cs (4)
585var compilation0 = CreateCompilation(source0.Tree, options: options.WithCurrentLocalTime(new DateTime(2016, 1, 1, 1, 0, 0))); 586var compilation1 = compilation0.WithSource(source1.Tree).WithOptions(options.WithCurrentLocalTime(new DateTime(2016, 1, 1, 1, 0, 10))); 587var compilation2 = compilation1.WithSource(source2.Tree).WithOptions(options.WithCurrentLocalTime(new DateTime(2016, 1, 1, 1, 0, 20))); 588var compilation3 = compilation2.WithSource(source3.Tree).WithOptions(options.WithCurrentLocalTime(new DateTime(2016, 1, 1, 1, 0, 30)));
Emit\EditAndContinue\EditAndContinueClosureTests.cs (103)
99var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 100var compilation1 = compilation0.WithSource(source1.Tree); 160var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 161var compilation1 = compilation0.WithSource(source1.Tree); 232var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 233var compilation1 = compilation0.WithSource(source1.Tree); 290var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 291var compilation1 = compilation0.WithSource(source1.Tree); 342var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 343var compilation1 = compilation0.WithSource(source1.Tree); 402var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 403var compilation1 = compilation0.WithSource(source1.Tree); 456var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 457var compilation1 = compilation0.WithSource(source1.Tree); 511var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 512var compilation1 = compilation0.WithSource(source1.Tree); 567var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 568var compilation1 = compilation0.WithSource(source1.Tree); 622var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 623var compilation1 = compilation0.WithSource(source1.Tree); 689var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll); 691var compilation1 = compilation0.WithSource(source1.Tree); 768var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 769var compilation1 = compilation0.WithSource(source1.Tree); 842var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 843var compilation1 = compilation0.WithSource(source1.Tree); 909var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 910var compilation1 = compilation0.WithSource(source1.Tree); 968var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 969var compilation1 = compilation0.WithSource(source1.Tree); 1056var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 1057var compilation1 = compilation0.WithSource(source1.Tree); 1145var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 1146var compilation1 = compilation0.WithSource(source1.Tree); 1229var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 1230var compilation1 = compilation0.WithSource(source1.Tree); 1320var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 1321var compilation1 = compilation0.WithSource(source1.Tree); 1402var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 1403var compilation1 = compilation0.WithSource(source1.Tree); 1479var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 1480var compilation1 = compilation0.WithSource(source1.Tree); 1481var compilation2 = compilation1.WithSource(source2.Tree); 1578var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 1579var compilation1 = compilation0.WithSource(source1.Tree); 1580var compilation2 = compilation1.WithSource(source2.Tree); 1669var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 1670var compilation1 = compilation0.WithSource(source1.Tree); 1671var compilation2 = compilation1.WithSource(source2.Tree); 1776var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 1777var compilation1 = compilation0.WithSource(source1.Tree); 1778var compilation2 = compilation1.WithSource(source2.Tree); 1779var compilation3 = compilation2.WithSource(source3.Tree); 1974var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 1975var compilation1 = compilation0.WithSource(source1.Tree); 1976var compilation2 = compilation1.WithSource(source2.Tree); 1977var compilation3 = compilation2.WithSource(source3.Tree); 2186var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 2187var compilation1 = compilation0.WithSource(source1.Tree); 2188var compilation2 = compilation1.WithSource(source2.Tree); 2648var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll); 2649var compilation1 = compilation0.WithSource(source1.Tree); 2718var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll); 2719var compilation1 = compilation0.WithSource(source1.Tree); 2824var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll); 2825var compilation1 = compilation0.WithSource(source1.Tree); 2944var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll); 2945var compilation1 = compilation0.WithSource(source1.Tree); 3040var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll); 3041var compilation1 = compilation0.WithSource(source1.Tree); 3101var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll); 3102var compilation1 = compilation0.WithSource(source1.Tree); 3229var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll); 3230var compilation1 = compilation0.WithSource(source1.Tree); 3345var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll); 3346var compilation1 = compilation0.WithSource(source1.Tree); 3470var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll); 3471var compilation1 = compilation0.WithSource(source1.Tree); 3592var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll); 3593var compilation1 = compilation0.WithSource(source1.Tree); 3594var compilation2 = compilation1.WithSource(source2.Tree); 3713var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll); 3714var compilation1 = compilation0.WithSource(source1.Tree); 3715var compilation2 = compilation1.WithSource(source2.Tree); 3793var compilation0 = CreateCompilationWithMscorlib40(new[] { source0.Tree }, references: new[] { SystemCoreRef, CSharpRef }, options: ComSafeDebugDll); 3794var compilation1 = compilation0.WithSource(source1.Tree); 3795var compilation2 = compilation1.WithSource(source2.Tree); 3988var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll); 3989var compilation1 = compilation0.WithSource(source1.Tree); 4073var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll); 4074var compilation1 = compilation0.WithSource(source1.Tree); 4155var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll); 4156var compilation1 = compilation0.WithSource(source1.Tree); 4228var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll); 4229var compilation1 = compilation0.WithSource(source1.Tree); 4310var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll); 4311var compilation1 = compilation0.WithSource(source1.Tree); 4407var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll); 4408var compilation1 = compilation0.WithSource(source1.Tree); 4493var compilation0 = CreateCompilation(source0.Tree, options: TestOptions.DebugExe); 4494var compilation1 = compilation0.WithSource(source1.Tree); 4552var compilation0 = CreateCompilation(source0.Tree, options: TestOptions.DebugDll); 4553var compilation1 = compilation0.WithSource(source1.Tree);
Emit\EditAndContinue\EditAndContinuePdbTests.cs (3)
121var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All), assemblyName: "EncMethodExtents"); 122var compilation1 = compilation0.WithSource(source1.Tree); 123var compilation2 = compilation1.WithSource(source2.Tree);
Emit\EditAndContinue\EditAndContinueStateMachineTests.cs (105)
1135var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options: ComSafeDebugDll); 1136var compilation1 = compilation0.WithSource(source1.Tree); 1560var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options: ComSafeDebugDll); 1561var compilation1 = compilation0.WithSource(source1.Tree); 1999var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options: ComSafeDebugDll); 2000var compilation1 = compilation0.WithSource(source1.Tree); 2001var compilation2 = compilation0.WithSource(source2.Tree); 2589var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options: ComSafeDebugDll); 2590var compilation1 = compilation0.WithSource(source1.Tree); 2761var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options: ComSafeDebugDll); 2762var compilation1 = compilation0.WithSource(source1.Tree); 3307var asyncStreamsTree = Parse(AsyncStreamsTypes, options: (CSharpParseOptions)source0.Tree.Options); 3309var compilation0 = CreateCompilationWithTasksExtensions(new[] { source0.Tree, asyncStreamsTree }, options: ComSafeDebugDll); 3310var compilation1 = compilation0.WithSource(new[] { source1.Tree, asyncStreamsTree }); 3704var compilation0 = CreateCompilationWithMscorlib45(source0.Tree, options: ComSafeDebugDll); 3705var compilation1 = compilation0.WithSource(source1.Tree); 3809var compilation0 = CreateCompilationWithMscorlib45(source0.Tree, options: ComSafeDebugDll); 3810var compilation1 = compilation0.WithSource(source1.Tree); 3918var compilation0 = CreateCompilationWithMscorlib45(source0.Tree, options: ComSafeDebugDll); 3919var compilation1 = compilation0.WithSource(source1.Tree); 4024var compilation0 = CreateCompilationWithMscorlib45(source0.Tree, options: ComSafeDebugDll); 4025var compilation1 = compilation0.WithSource(source1.Tree); 4126var compilation0 = CreateCompilationWithMscorlib45(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 4127var compilation1 = compilation0.WithSource(source1.Tree); 4289var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options: ComSafeDebugDll); 4290var compilation1 = compilation0.WithSource(source1.Tree); 4523var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options: ComSafeDebugDll); 4524var compilation1 = compilation0.WithSource(source1.Tree); 4686var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options: ComSafeDebugDll); 4687var compilation1 = compilation0.WithSource(source1.Tree); 5143var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options: ComSafeDebugDll); 5144var compilation1 = compilation0.WithSource(source1.Tree); 5479var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, new[] { SystemRuntimeFacadeRef, ValueTupleRef }, options: ComSafeDebugDll); 5480var compilation1 = compilation0.WithSource(source1.Tree); 5815var asyncStreamsTree = Parse(AsyncStreamsTypes, options: (CSharpParseOptions)source0.Tree.Options); 5817var compilation0 = CreateCompilationWithTasksExtensions(new[] { source0.Tree, asyncStreamsTree }, options: ComSafeDebugDll); 5818var compilation1 = compilation0.WithSource(new[] { source1.Tree, asyncStreamsTree }); 5819var compilation2 = compilation1.WithSource(new[] { source2.Tree, asyncStreamsTree }); 5820var compilation3 = compilation2.WithSource(new[] { source3.Tree, asyncStreamsTree }); 6542var compilation0 = CreateCompilationWithMscorlib45(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 6543var compilation1 = compilation0.WithSource(source1.Tree); 6544var compilation2 = compilation1.WithSource(source2.Tree); 6545var compilation3 = compilation2.WithSource(source3.Tree); 6880var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options: ComSafeDebugDll); 6881var compilation1 = compilation0.WithSource(source1.Tree); 6882var compilation2 = compilation1.WithSource(source2.Tree); 7090var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options: ComSafeDebugDll); 7091var compilation1 = compilation0.WithSource(source1.Tree); 7092var compilation2 = compilation0.WithSource(source2.Tree); 7293var compilation0 = CreateCompilationWithMscorlib45(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All), assemblyName: "A"); 7294var compilation1 = compilation0.WithSource(source1.Tree); 7295var compilation2 = compilation1.WithSource(source2.Tree); 7296var compilation3 = compilation2.WithSource(source3.Tree); 8019var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 8020var compilation1 = compilation0.WithSource(source1.Tree); 8021var compilation2 = compilation1.WithSource(source2.Tree); 8100var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, options: ComSafeDebugDll); 8101var compilation1 = compilation0.WithSource(source1.Tree); 8223var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, options: ComSafeDebugDll); 8224var compilation1 = compilation0.WithSource(source1.Tree); 8225var compilation2 = compilation1.WithSource(source2.Tree); 8372var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, options: ComSafeDebugDll); 8373var compilation1 = compilation0.WithSource(source1.Tree); 8374var compilation2 = compilation1.WithSource(source2.Tree); 8532var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, options: ComSafeDebugDll); 8533var compilation1 = compilation0.WithSource(source1.Tree); 8534var compilation2 = compilation1.WithSource(source2.Tree); 8644var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, options: ComSafeDebugDll); 8645var compilation1 = compilation0.WithSource(source1.Tree); 8646var compilation2 = compilation1.WithSource(source2.Tree); 8817var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, new[] { SystemCoreRef }, options: ComSafeDebugDll); 8818var compilation1 = compilation0.WithSource(source1.Tree); 8819var compilation2 = compilation0.WithSource(source2.Tree); 8820var compilation3 = compilation0.WithSource(source3.Tree); 8821var compilation4 = compilation0.WithSource(source4.Tree); 8822var compilation5 = compilation0.WithSource(source5.Tree); 9054var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options: ComSafeDebugDll); 9055var compilation1 = compilation0.WithSource(source1.Tree); 9056var compilation2 = compilation1.WithSource(source2.Tree); 9700var compilation0 = CreateCompilationWithMscorlib40(new[] { source0.Tree }, options: ComSafeDebugDll); 9701var compilation1 = compilation0.WithSource(source1.Tree); 9767var compilation0 = CreateCompilation(new[] { source0.Tree }, options: ComSafeDebugDll); 9768var compilation1 = compilation0.WithSource(source1.Tree); 9831var compilation0 = CreateCompilationWithMscorlib40(new[] { source0.Tree }, options: ComSafeDebugDll); 9832var compilation1 = compilation0.WithSource(source1.Tree); 9900var compilation0 = CreateCompilation(new[] { source0.Tree }, options: ComSafeDebugDll); 9901var compilation1 = compilation0.WithSource(source1.Tree); 9953var compilation0 = CreateEmptyCompilation(new[] { source0.Tree }, new[] { TestReferences.NetFx.Minimal.mincorlib, TestReferences.NetFx.Minimal.minasync }, options: ComSafeDebugDll); 9954var compilation1 = compilation0.WithSource(source1.Tree); 10013var compilation0 = CreateEmptyCompilation(new[] { source0.Tree }, new[] { TestReferences.NetFx.Minimal.mincorlib, TestReferences.NetFx.Minimal.minasync }, options: ComSafeDebugDll); 10014var compilation1 = compilation0.WithSource(source1.Tree); 10078var compilation0 = CreateEmptyCompilation(new[] { source0.Tree }, new[] { TestReferences.NetFx.Minimal.mincorlib, TestReferences.NetFx.Minimal.minasync }, options: ComSafeDebugDll); 10079var compilation1 = compilation0.WithSource(source1.Tree); 10128var compilation0 = CreateEmptyCompilation(new[] { source0.Tree }, new[] { Net451.mscorlib }, options: ComSafeDebugDll); 10129var compilation1 = compilation0.WithSource(source1.Tree); 10179var compilation0 = CreateEmptyCompilation(new[] { source0.Tree }, new[] { TestReferences.NetFx.Minimal.mincorlib, TestReferences.NetFx.Minimal.minasync }, options: ComSafeDebugDll); 10180var compilation1 = compilation0.WithSource(source1.Tree); 10230var compilation0 = CreateEmptyCompilation(new[] { source0.Tree }, new[] { Net20.mscorlib }, options: ComSafeDebugDll); 10231var compilation1 = compilation0.WithSource(source1.Tree); 10291var compilation0 = CreateEmptyCompilation(new[] { source0.Tree }, new[] { Net20.mscorlib }, options: ComSafeDebugDll); 10292var compilation1 = compilation0.WithSource(source1.Tree); 10346var compilation0 = CreateEmptyCompilation(new[] { source0.Tree }, new[] { Net451.mscorlib }, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 10347var compilation1 = compilation0.WithSource(source1.Tree); 10413var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, options: ComSafeDebugDll); 10414var compilation1 = compilation0.WithSource(source1.Tree);
Emit\EditAndContinue\EditAndContinueTest.cs (2)
50var compilation = CSharpTestBase.CreateCompilation(source.Tree, options: _options, targetFramework: _targetFramework); 90var compilation = previousGeneration.Compilation.WithSource(source.Tree);
Emit\EditAndContinue\EditAndContinueTests.cs (131)
276var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll); 277var compilation1 = compilation0.WithSource(source1.Tree); 346var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll); 347var compilation1 = compilation0.WithSource(source1.Tree); 1199var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 1200var compilation1 = compilation0.WithSource(source1.Tree); 1291var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 1292var compilation1 = compilation0.WithSource(source1.Tree); 1293var compilation2 = compilation1.WithSource(source2.Tree); 1386var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll.WithAllowUnsafe(true).WithMetadataImportOptions(MetadataImportOptions.All)); 1387var compilation1 = compilation0.WithSource(source1.Tree); 1388var compilation2 = compilation1.WithSource(source2.Tree); 1389var compilation3 = compilation2.WithSource(source3.Tree); 1474var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll.WithAllowUnsafe(true).WithMetadataImportOptions(MetadataImportOptions.All)); 1475var compilation1 = compilation0.WithSource(source1.Tree); 1532var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll.WithAllowUnsafe(true).WithMetadataImportOptions(MetadataImportOptions.All)); 1533var compilation1 = compilation0.WithSource(source1.Tree); 1534var compilation2 = compilation1.WithSource(source2.Tree); 1616var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll.WithAllowUnsafe(true).WithMetadataImportOptions(MetadataImportOptions.All)); 1617var compilation1 = compilation0.WithSource(source1.Tree); 1618var compilation2 = compilation1.WithSource(source2.Tree); 1619var compilation3 = compilation2.WithSource(source3.Tree); 1714var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 1715var compilation1 = compilation0.WithSource(source1.Tree); 4728var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll); 4729var compilation1 = compilation0.WithSource(source1.Tree); 5073var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll); 5074var compilation1 = compilation0.WithSource(source1.Tree); 8695var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)); 8696var compilation1 = compilation0.WithSource(source1.Tree); 8697var compilation2 = compilation1.WithSource(source2.Tree); 8797var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All), targetFramework: TargetFramework.NetStandard20); 8798var compilation1 = compilation0.WithSource(source1.Tree); 8799var compilation2 = compilation1.WithSource(source2.Tree); 9119var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll); 9120var compilation1 = compilation0.WithSource(source1.Tree); 9121var compilation2 = compilation1.WithSource(source2.Tree); 9122var compilation3 = compilation2.WithSource(source3.Tree); 9493var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll); 9494var compilation1 = compilation0.WithSource(source1.Tree); 9495var compilation2 = compilation1.WithSource(source2.Tree); 9590var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, new[] { SystemCoreRef }, options: ComSafeDebugDll); 9591var compilation1 = compilation0.WithSource(source1.Tree); 9592var compilation2 = compilation0.WithSource(source2.Tree); 9713var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, new[] { SystemCoreRef }, options: ComSafeDebugDll); 9714var compilation1 = compilation0.WithSource(source1.Tree); 9715var compilation2 = compilation0.WithSource(source2.Tree); 9882var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options: ComSafeDebugDll); 9883var compilation1 = compilation0.WithSource(source1.Tree); 9947var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, options: ComSafeDebugDll); 9948var compilation1 = compilation0.WithSource(source1.Tree); 9949var compilation2 = compilation1.WithSource(source2.Tree); 10623var compilation0 = CreateCompilationWithMscorlib45(new[] { source0.Tree }, new[] { SystemCoreRef, CSharpRef }, options: ComSafeDebugDll); 10625var compilation1 = compilation0.WithSource(source1.Tree); 10626var compilation2 = compilation1.WithSource(source2.Tree); 10808var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll); 10809var compilation1 = compilation0.WithSource(source1.Tree); 10926var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll, references: new MetadataReference[] { referencePIA }); 10927var compilation1 = compilation0.WithSource(source1.Tree); 10979var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll, references: new MetadataReference[] { referencePIA }); 10980var compilation1 = compilation0.WithSource(source1.Tree); 11925var compilation0 = CreateCompilation(source0.Tree, options: TestOptions.DebugDll, assemblyName: "PdbReadingErrorsAssembly"); 11926var compilation1 = compilation0.WithSource(source1.Tree); 11972var compilation0 = CreateCompilation(source0.Tree, options: TestOptions.DebugDll, assemblyName: "PdbReadingErrorsAssembly"); 11973var compilation1 = compilation0.WithSource(source1.Tree); 12013var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll); 12014var compilation1 = compilation0.WithSource(source1.Tree); 12015var compilation2 = compilation1.WithSource(source2.Tree); 12162var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll); 12163var compilation1 = compilation0.WithSource(source1.Tree); 12164var compilation2 = compilation1.WithSource(source2.Tree); 12296var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll); 12297var compilation1 = compilation0.WithSource(source1.Tree); 12298var compilation2 = compilation1.WithSource(source0.Tree); 12405var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll); 12406var compilation1 = compilation0.WithSource(source1.Tree); 12407var compilation2 = compilation1.WithSource(source0.Tree); 12523var compilation0 = CreateCompilation(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options: ComSafeDebugDll); 12524var compilation1 = compilation0.WithSource(source1.Tree); 12525var compilation2 = compilation1.WithSource(source0.Tree); 12714var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll); 12715var compilation1 = compilation0.WithSource(source1.Tree); 12716var compilation2 = compilation1.WithSource(source2.Tree); 12843var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll); 12844var compilation1 = compilation0.WithSource(source1.Tree); 12845var compilation2 = compilation1.WithSource(source2.Tree); 12991var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll); 12992var compilation1 = compilation0.WithSource(source1.Tree); 12993var compilation2 = compilation1.WithSource(source2.Tree); 13187var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll); 13188var compilation1 = compilation0.WithSource(source1.Tree); 13189var compilation2 = compilation1.WithSource(source2.Tree); 13296var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll); 13297var compilation1 = compilation0.WithSource(source1.Tree); 13298var compilation2 = compilation1.WithSource(source0.Tree); 13406var compilation0 = CreateCompilation(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options: ComSafeDebugDll); 13407var compilation1 = compilation0.WithSource(source1.Tree); 13408var compilation2 = compilation1.WithSource(source0.Tree); 13570var compilation0 = CreateCompilation(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options: ComSafeDebugDll); 13571var compilation1 = compilation0.WithSource(source1.Tree); 13572var compilation2 = compilation1.WithSource(source0.Tree); 13715var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll); 13716var compilation1 = compilation0.WithSource(source1.Tree); 13717var compilation2 = compilation1.WithSource(source0.Tree); 13820var compilation0 = CreateCompilation(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options: ComSafeDebugDll); 13821var compilation1 = compilation0.WithSource(source1.Tree); 13822var compilation2 = compilation1.WithSource(source0.Tree); 13983var compilation0 = CreateCompilation(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options: ComSafeDebugDll); 13984var compilation1 = compilation0.WithSource(source1.Tree); 13985var compilation2 = compilation1.WithSource(source0.Tree); 14187var compilation0 = CreateCompilation(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options: ComSafeDebugDll); 14188var compilation1 = compilation0.WithSource(source1.Tree); 14189var compilation2 = compilation1.WithSource(source0.Tree); 14435var compilation0 = CreateCompilation(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options: ComSafeDebugDll); 14436var compilation1 = compilation0.WithSource(source1.Tree); 14437var compilation2 = compilation1.WithSource(source0.Tree); 14620var compilation0 = CreateCompilation(source0.Tree, targetFramework: TargetFramework.NetStandard20, options: ComSafeDebugDll); 14621var compilation1 = compilation0.WithSource(source1.Tree); 14917var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll); 14918var compilation1 = compilation0.WithSource(source1.Tree); 16004var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll); 16005var compilation1 = compilation0.WithSource(source1.Tree); 16079var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll); 16080var compilation1 = compilation0.WithSource(new[] { source1.Tree, source2.Tree }); 16167var compilation0 = CreateCompilation(source0_gen0.Tree, options: ComSafeDebugDll); 16174var compilation1 = compilation0.WithSource(new[] { source1_gen1.Tree, source0_gen1.Tree }); 16262var compilation0 = CreateCompilation(new[] { source1_gen0.Tree, source2_gen0.Tree }, options: ComSafeDebugDll); 16264var compilation1 = compilation0.WithSource(new[] { source2_gen1.Tree });
Emit\EditAndContinue\LocalSlotMappingTests.cs (19)
530var compilation0 = CreateCompilation(source0.Tree, options: TestOptions.DebugDll); 531var compilation1 = compilation0.WithSource(source1.Tree); 642var compilation0 = CreateCompilation(source0.Tree, options: TestOptions.DebugDll); 643var compilation1 = compilation0.WithSource(source1.Tree); 751var asyncStreamsTree = Parse(AsyncStreamsTypes, options: (CSharpParseOptions)source0.Tree.Options); 752var compilation0 = CreateCompilationWithTasksExtensions(new[] { source0.Tree, asyncStreamsTree }, options: TestOptions.DebugDll); 753var compilation1 = compilation0.WithSource(new[] { source1.Tree, asyncStreamsTree }); 844var asyncStreamsTree = Parse(AsyncStreamsTypes, options: (CSharpParseOptions)source0.Tree.Options); 845var compilation0 = CreateCompilationWithTasksExtensions(new[] { source0.Tree, asyncStreamsTree }, options: TestOptions.DebugDll); 846var compilation1 = compilation0.WithSource(new[] { source1.Tree, asyncStreamsTree }); 2025var compilation0 = CreateCompilation(source0.Tree, options: TestOptions.DebugDll); 2071var compilation1 = CreateCompilation(source1.Tree, options: TestOptions.DebugDll); 2072var compilation2 = compilation0.WithSource(source2.Tree); 3765var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll); 3766var compilation1 = compilation0.WithSource(source1.Tree); 3767var compilation2 = compilation1.WithSource(source2.Tree); 4929var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll.WithAllowUnsafe(true)); 4931var compilation1 = compilation0.WithSource(source1.Tree); 4932var compilation2 = compilation1.WithSource(source2.Tree);
PDB\PDBLambdaTests.cs (4)
109var compilation = CreateCompilationWithMscorlib40AndSystemCore(source.Tree, options: TestOptions.DebugDll); 1847var compilation = CreateCompilation(source.Tree, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll); 1875var compilation = CreateCompilation(source.Tree, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll); 1909var compilation = CreateCompilation(source.Tree, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
Microsoft.CodeAnalysis.Test.Utilities (2)
MarkedSource\SourceWithMarkedNodes.cs (2)
109var root = Tree.GetRoot(); 135var root = Tree.GetRoot();
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (182)
Emit\EditAndContinue\AssemblyReferencesTests.vb (4)
447Dim compilation0 = CreateCompilationWithMscorlib40(source0.Tree, options:=options.WithCurrentLocalTime(New DateTime(2016, 1, 1, 1, 0, 0))) 448Dim compilation1 = compilation0.WithSource(source1.Tree).WithOptions(options.WithCurrentLocalTime(New DateTime(2016, 1, 1, 1, 0, 10))) 449Dim compilation2 = compilation1.WithSource(source2.Tree).WithOptions(options.WithCurrentLocalTime(New DateTime(2016, 1, 1, 1, 0, 20))) 450Dim compilation3 = compilation2.WithSource(source3.Tree).WithOptions(options.WithCurrentLocalTime(New DateTime(2016, 1, 1, 1, 0, 30)))
Emit\EditAndContinue\EditAndContinueClosureTests.vb (52)
95Dim compilation0 = CreateEmptyCompilationWithReferences(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 96Dim compilation1 = compilation0.WithSource(source1.Tree) 146Dim compilation0 = CreateEmptyCompilationWithReferences(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 147Dim compilation1 = compilation0.WithSource(source1.Tree) 198Dim compilation0 = CreateEmptyCompilationWithReferences(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 199Dim compilation1 = compilation0.WithSource(source1.Tree) 251Dim compilation0 = CreateEmptyCompilationWithReferences(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 252Dim compilation1 = compilation0.WithSource(source1.Tree) 330Dim compilation0 = CreateEmptyCompilationWithReferences(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 331Dim compilation1 = compilation0.WithSource(source1.Tree) 414Dim compilation0 = CreateEmptyCompilationWithReferences(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 415Dim compilation1 = compilation0.WithSource(source1.Tree) 515Dim compilation0 = CreateEmptyCompilationWithReferences(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 516Dim compilation1 = compilation0.WithSource(source1.Tree) 611Dim compilation0 = CreateEmptyCompilationWithReferences(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 612Dim compilation1 = compilation0.WithSource(source1.Tree) 680Dim compilation0 = CreateEmptyCompilationWithReferences(source0.Tree, {MscorlibRef, SystemCoreRef}, options:=ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 681Dim compilation1 = compilation0.WithSource(source1.Tree) 753Dim compilation0 = CreateEmptyCompilationWithReferences(source0.Tree, {MscorlibRef, SystemCoreRef}, options:=ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 754Dim compilation1 = compilation0.WithSource(source1.Tree) 817Dim compilation0 = CreateEmptyCompilationWithReferences(source0.Tree, {MscorlibRef, SystemCoreRef}, options:=ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 818Dim compilation1 = compilation0.WithSource(source1.Tree) 883Dim compilation0 = CreateEmptyCompilationWithReferences(source0.Tree, {MscorlibRef, SystemCoreRef}, options:=ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 884Dim compilation1 = compilation0.WithSource(source1.Tree) 963Dim compilation0 = CreateCompilationWithMscorlib40(source0.Tree, options:=ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 964Dim compilation1 = compilation0.WithSource(source1.Tree) 965Dim compilation2 = compilation1.WithSource(source2.Tree) 1076Dim compilation0 = CreateCompilationWithMscorlib40(source0.Tree, options:=ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 1077Dim compilation1 = compilation0.WithSource(source1.Tree) 1078Dim compilation2 = compilation1.WithSource(source2.Tree) 1079Dim compilation3 = compilation2.WithSource(source3.Tree) 1321Dim compilation0 = CreateEmptyCompilationWithReferences(source0.Tree, {MscorlibRef, SystemCoreRef}, options:=ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 1322Dim compilation1 = compilation0.WithSource(source1.Tree) 1323Dim compilation2 = compilation1.WithSource(source2.Tree) 1534Dim compilation0 = CreateCompilationWithMscorlib40(source0.Tree, options:=ComSafeDebugDll) 1535Dim compilation1 = compilation0.WithSource(source1.Tree) 1649Dim compilation0 = CreateCompilationWithMscorlib40(source0.Tree, options:=ComSafeDebugDll) 1650Dim compilation1 = compilation0.WithSource(source1.Tree) 1749Dim compilation0 = CreateCompilationWithMscorlib40(source0.Tree, options:=ComSafeDebugDll) 1750Dim compilation1 = compilation0.WithSource(source1.Tree) 1804Dim compilation0 = CreateCompilationWithMscorlib40(source0.Tree, options:=ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 1805Dim compilation1 = compilation0.WithSource(source1.Tree) 1806Dim compilation2 = compilation1.WithSource(source2.Tree) 1966Dim compilation0 = CreateCompilationWithMscorlib40(source0.Tree, options:=ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 1967Dim compilation1 = compilation0.WithSource(source1.Tree) 1968Dim compilation2 = compilation1.WithSource(source2.Tree) 2084Dim compilation0 = CreateCompilationWithMscorlib40(source0.Tree, options:=ComSafeDebugDll) 2085Dim compilation1 = compilation0.WithSource(source1.Tree) 2086Dim compilation2 = compilation1.WithSource(source2.Tree) 2162Dim compilation0 = CreateCompilationWithMscorlib40(source0.Tree, options:=ComSafeDebugDll) 2163Dim compilation1 = compilation0.WithSource(source1.Tree) 2164Dim compilation2 = compilation1.WithSource(source2.Tree)
Emit\EditAndContinue\EditAndContinuePdbTests.vb (3)
125Dim compilation0 = CreateCompilationWithMscorlib40({source0.Tree}, options:=ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All), assemblyName:="EncMethodExtents") 126Dim compilation1 = compilation0.WithSource(source1.Tree) 127Dim compilation2 = compilation1.WithSource(source2.Tree)
Emit\EditAndContinue\EditAndContinueStateMachineTests.vb (84)
1515Dim compilation0 = CreateEmptyCompilationWithReferences(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll) 1516Dim compilation1 = compilation0.WithSource(source1.Tree) 1963Dim compilation0 = CreateEmptyCompilationWithReferences(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll) 1964Dim compilation1 = compilation0.WithSource(source1.Tree) 1965Dim compilation2 = compilation1.WithSource(source2.Tree) 2559Dim compilation0 = CreateEmptyCompilationWithReferences({source0.Tree}, references:=LatestVbReferences, options:=ComSafeDebugDll) 2560Dim compilation1 = compilation0.WithSource(source1.Tree) 3022Dim compilation0 = CreateEmptyCompilationWithReferences(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll) 3023Dim compilation1 = compilation0.WithSource(source1.Tree) 3191Dim compilation0 = CreateEmptyCompilationWithReferences(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll) 3192Dim compilation1 = compilation0.WithSource(source1.Tree) 3578Dim compilation0 = CreateEmptyCompilationWithReferences(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll) 3579Dim compilation1 = compilation0.WithSource(source1.Tree) 3683Dim compilation0 = CreateEmptyCompilationWithReferences(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll) 3684Dim compilation1 = compilation0.WithSource(source1.Tree) 3793Dim compilation0 = CreateEmptyCompilationWithReferences(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll) 3794Dim compilation1 = compilation0.WithSource(source1.Tree) 3899Dim compilation0 = CreateEmptyCompilationWithReferences(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll) 3900Dim compilation1 = compilation0.WithSource(source1.Tree) 4007Dim compilation0 = CreateEmptyCompilationWithReferences(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 4008Dim compilation1 = compilation0.WithSource(source1.Tree) 4200Dim compilation0 = CreateEmptyCompilationWithReferences(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll) 4201Dim compilation1 = compilation0.WithSource(source1.Tree) 4461Dim compilation0 = CreateEmptyCompilationWithReferences(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll) 4462Dim compilation1 = compilation0.WithSource(source1.Tree) 4624Dim compilation0 = CreateEmptyCompilationWithReferences({source0.Tree}, references:=LatestVbReferences, options:=ComSafeDebugDll) 4625Dim compilation1 = compilation0.WithSource(source1.Tree) 4954Dim compilation0 = CreateEmptyCompilationWithReferences(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll) 4955Dim compilation1 = compilation0.WithSource(source1.Tree) 5456Dim compilation0 = CreateEmptyCompilationWithReferences(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll) 5457Dim compilation1 = compilation0.WithSource(source1.Tree) 5895Dim compilation0 = CreateEmptyCompilationWithReferences(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll) 5896Dim compilation1 = compilation0.WithSource(source1.Tree) 6351Dim compilation0 = CreateEmptyCompilationWithReferences(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll) 6352Dim compilation1 = compilation0.WithSource(source1.Tree) 6504Dim compilation0 = CreateEmptyCompilationWithReferences(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll) 6505Dim compilation1 = compilation0.WithSource(source1.Tree) 6662Dim compilation0 = CreateEmptyCompilationWithReferences(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll) 6663Dim compilation1 = compilation0.WithSource(source1.Tree) 6816Dim compilation0 = CreateEmptyCompilationWithReferences(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll) 6817Dim compilation1 = compilation0.WithSource(source1.Tree) 7049Dim compilation0 = CreateEmptyCompilationWithReferences(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 7050Dim compilation1 = compilation0.WithSource(source1.Tree) 7051Dim compilation2 = compilation1.WithSource(source2.Tree) 7052Dim compilation3 = compilation2.WithSource(source3.Tree) 7549Dim compilation0 = CreateEmptyCompilationWithReferences(source0.Tree, references:=LatestVbReferences, options:=ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 7550Dim compilation1 = compilation0.WithSource(source1.Tree) 7551Dim compilation2 = compilation1.WithSource(source2.Tree) 7552Dim compilation3 = compilation2.WithSource(source3.Tree) 8169Dim compilation0 = CreateCompilationWithMscorlib45AndVBRuntime({source0.Tree}, options:=ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 8170Dim compilation1 = compilation0.WithSource(source1.Tree) 8171Dim compilation2 = compilation1.WithSource(source2.Tree) 8253Dim compilation0 = CreateCompilationWithMscorlib45AndVBRuntime({source0.Tree}, options:=ComSafeDebugDll) 8254Dim compilation1 = compilation0.WithSource(source1.Tree) 8371Dim compilation0 = CreateCompilationWithMscorlib45AndVBRuntime({source0.Tree}, options:=ComSafeDebugDll) 8372Dim compilation1 = compilation0.WithSource(source1.Tree) 8479Dim compilation0 = CreateCompilationWithMscorlib45({source0.Tree}, options:=ComSafeDebugDll) 8480Dim compilation1 = compilation0.WithSource(source1.Tree) 8481Dim compilation2 = compilation1.WithSource(source2.Tree) 8611Dim compilation0 = CreateCompilationWithMscorlib45({source0.Tree}, options:=ComSafeDebugDll) 8612Dim compilation1 = compilation0.WithSource(source1.Tree) 8613Dim compilation2 = compilation1.WithSource(source2.Tree) 8744Dim compilation0 = CreateCompilationWithMscorlib45AndVBRuntime({source0.Tree}, {SystemCoreRef}, options:=ComSafeDebugDll) 8745Dim compilation1 = compilation0.WithSource(source1.Tree) 8746Dim compilation2 = compilation0.WithSource(source2.Tree) 8747Dim compilation3 = compilation0.WithSource(source3.Tree) 8748Dim compilation4 = compilation0.WithSource(source4.Tree) 8749Dim compilation5 = compilation0.WithSource(source5.Tree) 8847Dim compilation0 = CreateCompilationWithMscorlib40({source0.Tree}, options:=ComSafeDebugDll) 8848Dim compilation1 = compilation0.WithSource(source1.Tree) 8906Dim compilation0 = CreateCompilationWithMscorlib40({source0.Tree}, options:=ComSafeDebugDll) 8907Dim compilation1 = compilation0.WithSource(source1.Tree) 8961Dim compilation0 = CreateCompilationWithMscorlib40({source0.Tree}, options:=ComSafeDebugDll) 8962Dim compilation1 = compilation0.WithSource(source1.Tree) 9027Dim compilation0 = CreateCompilationWithMscorlib40({source0.Tree}, options:=ComSafeDebugDll) 9028Dim compilation1 = compilation0.WithSource(source1.Tree) 9077Dim compilation0 = CompilationUtils.CreateEmptyCompilation({source0.Tree}, {TestReferences.NetFx.Minimal.mincorlib, TestReferences.NetFx.Minimal.minasync}, options:=ComSafeDebugDll) 9078Dim compilation1 = compilation0.WithSource(source1.Tree) 9115Dim compilation0 = CompilationUtils.CreateEmptyCompilation({source0.Tree}, {TestMetadata.Net451.mscorlib}, options:=ComSafeDebugDll) 9116Dim compilation1 = compilation0.WithSource(source1.Tree) 9154Dim compilation0 = CompilationUtils.CreateEmptyCompilation({source0.Tree}, {TestReferences.NetFx.Minimal.mincorlib, TestReferences.NetFx.Minimal.minasync}, options:=ComSafeDebugDll) 9155Dim compilation1 = compilation0.WithSource(source1.Tree) 9196Dim compilation0 = CreateCompilationWithMscorlib40({source0.Tree}, options:=ComSafeDebugDll) 9197Dim compilation1 = compilation0.WithSource(source1.Tree)
Emit\EditAndContinue\EditAndContinueTests.vb (32)
49Dim compilation0 = CreateCompilationWithMscorlib40(source0.Tree, options:=ComSafeDebugDll) 50Dim compilation1 = compilation0.WithSource(source1.Tree) 106Dim compilation0 = CreateCompilationWithMscorlib40(source0.Tree, options:=ComSafeDebugDll) 107Dim compilation1 = compilation0.WithSource(source1.Tree) 905Dim compilation0 = CreateCompilationWithMscorlib45AndVBRuntime({source0.Tree}, options:=ComSafeDebugDll) 906Dim compilation1 = compilation0.WithSource(source1.Tree) 1460Dim compilation0 = CreateCompilationWithMscorlib40(source0.Tree, options:=ComSafeDebugDll) 1464Dim compilation1 = compilation0.WithSource(source1.Tree) 4048Dim compilation0 = CreateCompilationWithMscorlib40(source0.Tree, options:=ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 4049Dim compilation1 = compilation0.WithSource(source1.Tree) 4050Dim compilation2 = compilation1.WithSource(source2.Tree) 4135Dim compilation0 = CreateCompilationWithMscorlib40(source0.Tree, options:=ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All)) 4136Dim compilation1 = compilation0.WithSource(source1.Tree) 4137Dim compilation2 = compilation1.WithSource(source2.Tree) 4352Dim compilation0 = CreateCompilationWithMscorlib40(source0.Tree, options:=ComSafeDebugDll) 4353Dim compilation1 = compilation0.WithSource(source1.Tree) 4354Dim compilation2 = compilation1.WithSource(source2.Tree) 4355Dim compilation3 = compilation2.WithSource(source3.Tree) 4783Dim compilation0 = CreateCompilationWithMscorlib45({source0.Tree}, {SystemCoreRef}, options:=ComSafeDebugDll) 4784Dim compilation1 = compilation0.WithSource(source1.Tree) 4785Dim compilation2 = compilation0.WithSource(source2.Tree) 4901Dim compilation0 = CreateCompilationWithMscorlib40({source0.Tree}, options:=ComSafeDebugDll) 4902Dim compilation1 = compilation0.WithSource(source1.Tree) 4903Dim compilation2 = compilation1.WithSource(source2.Tree) 5461Dim compilation0 = CreateCompilationWithMscorlib40(source0.Tree, {MsvbRef}, ComSafeDebugDll) 5462Dim compilation1 = compilation0.WithSource(source1.Tree) 5604Dim compilation0 = CreateCompilationWithMscorlib40(source0.Tree, {MsvbRef}, ComSafeDebugDll) 5605Dim compilation1 = compilation0.WithSource(source1.Tree) 5747Dim compilation0 = CreateCompilation(source0.Tree, targetFramework:=TargetFramework.NetStandard20, options:=ComSafeDebugDll) 5748Dim compilation1 = compilation0.WithSource(source1.Tree) 5805Dim compilation0 = CreateCompilation(source0.Tree, targetFramework:=TargetFramework.NetStandard20, options:=ComSafeDebugDll) 5806Dim compilation1 = compilation0.WithSource(source1.Tree)
Emit\EditAndContinue\LocalSlotMappingTests.vb (7)
33Dim compilation0 = CreateEmptyCompilationWithReferences({source.Tree}, references:=LatestVbReferences, options:=ComSafeDebugDll) 34Dim compilation1 = compilation0.WithSource(source.Tree) 273Dim compilation0 = CreateCompilationWithMscorlib40({source.Tree}, options:=ComSafeDebugDll) 274Dim compilation1 = compilation0.WithSource(source.Tree) 954Dim compilation0 = CreateCompilationWithMscorlib40(source0.Tree, options:=ComSafeDebugDll, references:=ValueTupleRefs) 955Dim compilation1 = compilation0.WithSource(source1.Tree) 956Dim compilation2 = compilation1.WithSource(source2.Tree)