7 instantiations of PinnedMetadata
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
PDB\PDBUsingTests.cs (1)
2780using var metadata = new PinnedMetadata(pdbImage);
PDB\PortablePdbTests.cs (1)
48using (var pdbMetadata = new PinnedMetadata(pdbStream.ToImmutable()))
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler.UnitTests (3)
MissingAssemblyTests.cs (3)
377using (var pinned = new PinnedMetadata(GetMetadataBytes(comp))) 401using (PinnedMetadata pinned1 = new PinnedMetadata(GetMetadataBytes(comp1)), 402pinned2 = new PinnedMetadata(GetMetadataBytes(comp2)))
Microsoft.CodeAnalysis.Test.Utilities (1)
Compilation\CompilationDifference.cs (1)
57return new PinnedMetadata(MetadataDelta);
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
PDB\PortablePdbTests.vb (1)
42Using pdbMetadata As New PinnedMetadata(pdbStream.ToImmutable())
161 references to PinnedMetadata
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (157)
Emit\EditAndContinue\AssemblyReferencesTests.cs (2)
341var md1 = diff1.GetMetadata(); 342var md2 = diff2.GetMetadata();
Emit\EditAndContinue\EditAndContinueClosureTests.cs (43)
53using (var md1 = diff1.GetMetadata()) 119var md1 = diff1.GetMetadata(); 180var md1 = diff1.GetMetadata(); 253var md1 = diff1.GetMetadata(); 308var md1 = diff1.GetMetadata(); 361var md1 = diff1.GetMetadata(); 422var md1 = diff1.GetMetadata(); 475var md1 = diff1.GetMetadata(); 530var md1 = diff1.GetMetadata(); 585var md1 = diff1.GetMetadata(); 642var md1 = diff1.GetMetadata(); 787var md1 = diff1.GetMetadata(); 863var md1 = diff1.GetMetadata(); 929var md1 = diff1.GetMetadata(); 990var md1 = diff1.GetMetadata(); 1079var md1 = diff1.GetMetadata(); 1167var md1 = diff1.GetMetadata(); 1251var md1 = diff1.GetMetadata(); 1341var md1 = diff1.GetMetadata(); 1423var md1 = diff1.GetMetadata(); 1495var md1 = diff1.GetMetadata(); 1594var md1 = diff1.GetMetadata(); 1685var md1 = diff1.GetMetadata(); 1794var md1 = diff1.GetMetadata(); 1992var md1 = diff1.GetMetadata(); 2202var md1 = diff1.GetMetadata(); 2662var md1 = diff1.GetMetadata(); 2736var md1 = diff1.GetMetadata(); 2842var md1 = diff1.GetMetadata(); 3056var md1 = diff1.GetMetadata(); 3116var md1 = diff1.GetMetadata(); 3244var md1 = diff1.GetMetadata(); 3360var md1 = diff1.GetMetadata(); 3485var md1 = diff1.GetMetadata(); 4002var md1 = diff1.GetMetadata(); 4087var md1 = diff1.GetMetadata(); 4169var md1 = diff1.GetMetadata(); 4242var md1 = diff1.GetMetadata(); 4324var md1 = diff1.GetMetadata(); 4421var md1 = diff1.GetMetadata(); 4513var md1 = diff1.GetMetadata(); 4572var md1 = diff1.GetMetadata(); 4620using var md1 = diff1.GetMetadata();
Emit\EditAndContinue\EditAndContinueStateMachineTests.cs (22)
62using var md1 = diff1.GetMetadata(); 241using var md1 = diff1.GetMetadata(); 362using var md1 = diff1.GetMetadata(); 464using var md1 = diff1.GetMetadata(); 534using (var md1 = diff1.GetMetadata()) 584using (var md1 = diff1.GetMetadata()) 665using var md1 = diff1.GetMetadata(); 730using var md1 = diff1.GetMetadata(); 866using var md1 = diff1.GetMetadata(); 3721using var md1 = diff1.GetMetadata(); 3825using var md1 = diff1.GetMetadata(); 3934using var md1 = diff1.GetMetadata(); 4040using var md1 = diff1.GetMetadata(); 4154using var md1 = diff1.GetMetadata(); 6613var md1 = diff1.GetMetadata(); 6614var md2 = diff2.GetMetadata(); 6615var md3 = diff3.GetMetadata(); 7364var md1 = diff1.GetMetadata(); 7365var md2 = diff2.GetMetadata(); 7366var md3 = diff3.GetMetadata(); 8293using var md1 = diff1.GetMetadata(); 8312using var md2 = diff2.GetMetadata();
Emit\EditAndContinue\EditAndContinueTest.cs (1)
110var md = diff.GetMetadata();
Emit\EditAndContinue\EditAndContinueTestBase.cs (1)
34internal static string Visualize(ModuleMetadata baseline, params PinnedMetadata[] deltas)
Emit\EditAndContinue\EditAndContinueTests.cs (86)
206using var md1 = diff1.GetMetadata(); 408using var md1 = diff1.GetMetadata(); 479using var md1 = diff1.GetMetadata(); 506using var md2 = diff2.GetMetadata(); 561using var md1 = diff1.GetMetadata(); 839using var md1 = diff1.GetMetadata(); 948using var md1 = diff1.GetMetadata(); 985using var md2 = diff2.GetMetadata(); 1071using var md1 = diff1.GetMetadata(); 1113using var md2 = diff2.GetMetadata(); 1145using var md3 = diff3.GetMetadata(); 1224using var md1 = diff1.GetMetadata(); 1313using var md1 = diff1.GetMetadata(); 1330using var md2 = diff2.GetMetadata(); 1410using var md1 = diff1.GetMetadata(); 1427using var md2 = diff2.GetMetadata(); 1554using var md1 = diff1.GetMetadata(); 1640using var md1 = diff1.GetMetadata(); 1663using var md2 = diff2.GetMetadata(); 1733using var md1 = diff1.GetMetadata(); 1884using var md1 = diff1.GetMetadata(); 1991using var md1 = diff1.GetMetadata(); 2086using var md1 = diff1.GetMetadata(); 2133using var md2 = diff2.GetMetadata(); 2200using var md1 = diff1.GetMetadata(); 2484using var md1 = diff1.GetMetadata(); 2518using var md2 = diff2.GetMetadata(); 2672using var md1 = diff1.GetMetadata(); 2729using var md2 = diff2.GetMetadata(); 2824using var md3 = diff3.GetMetadata(); 2882using var md1 = diff1.GetMetadata(); 2939using var md1 = diff1.GetMetadata(); 3007using var md1 = diff1.GetMetadata(); 3041using var md2 = diff2.GetMetadata(); 4243using var md1 = diff1.GetMetadata(); 4298using var md2 = diff2.GetMetadata(); 4808using var md1 = diff1.GetMetadata(); 4829using var md2 = diff2.GetMetadata(); 5008using var md1 = diff1.GetMetadata(); 5016using var md2 = diff2.GetMetadata(); 5027using var md3 = diff3.GetMetadata(); 5102using var md1 = diff1.GetMetadata(); 5180using var md1 = diff1.GetMetadata(); 5195using var md2 = diff2.GetMetadata(); 5265using var md1 = diff1.GetMetadata(); 5280using var md2 = diff2.GetMetadata(); 5344using var md1 = diff1.GetMetadata(); 5445using var md1 = diff1.GetMetadata(); 5507using var md1 = diff1.GetMetadata(); 5676using var block1 = diff1.GetMetadata(); 5742using var block1 = diff1.GetMetadata(); 5768using var md2 = diff2.GetMetadata(); 5818using var block1 = diff1.GetMetadata(); 5941using var md1 = diff1.GetMetadata(); 5968using var md2 = diff2.GetMetadata(); 6112using var md1 = diff1.GetMetadata(); 6235using var md1 = diff1.GetMetadata(); 6307using var md1 = diff1.GetMetadata(); 6356var md1 = diff1.GetMetadata(); 6458using var md1 = diff1.GetMetadata(); 6514using var md1 = diff1.GetMetadata(); 7139using var md1 = diff1.GetMetadata(); 7747using var md1 = diff1.GetMetadata(); 8741var md1 = diff1.GetMetadata(); 8764var md2 = diff2.GetMetadata(); 8814var md1 = diff1.GetMetadata(); 8851var md2 = diff2.GetMetadata(); 8921using var md1 = diff1.GetMetadata(); 9025using var md1 = diff1.GetMetadata(); 9141var md1 = diff1.GetMetadata(); 9169var md2 = diff2.GetMetadata(); 9201var md3 = diff3.GetMetadata(); 9328using var md1 = diff1.GetMetadata(); 9338using var md2 = diff2.GetMetadata(); 9348using var md3 = diff3.GetMetadata(); 9433using var md1 = diff1.GetMetadata(); 11113using var md1 = diff1B.GetMetadata(); 11289using var md1 = diff1.GetMetadata(); 11404using var md1 = diff1.GetMetadata(); 11417using var md2 = diff2F.GetMetadata(); 11648using var md1 = diff1.GetMetadata(); 11658using var md2 = diff2F.GetMetadata(); 13458using var md1 = diff1.GetMetadata(); 13507using var md2 = diff2.GetMetadata(); 14743using var md1 = diff1.GetMetadata(); 14862using var md1 = diff1.GetMetadata();
PDB\PDBUsingTests.cs (1)
2780using var metadata = new PinnedMetadata(pdbImage);
PDB\PortablePdbTests.cs (1)
48using (var pdbMetadata = new PinnedMetadata(pdbStream.ToImmutable()))
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler.UnitTests (2)
MissingAssemblyTests.cs (2)
377using (var pinned = new PinnedMetadata(GetMetadataBytes(comp))) 401using (PinnedMetadata pinned1 = new PinnedMetadata(GetMetadataBytes(comp1)),
Microsoft.CodeAnalysis.Test.Utilities (1)
Compilation\CompilationDifference.cs (1)
55internal PinnedMetadata GetMetadata()
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
Emit\EditAndContinue\EditAndContinueTestBase.vb (1)
31Friend Shared Function Visualize(baseline As ModuleMetadata, ParamArray deltas As PinnedMetadata()) As String