28 references to EditAndContinueLocalSlotMap
Microsoft.CodeAnalysis (2)
CustomDebugInfoReader.cs (1)
97
case CustomDebugInfoKind.
EditAndContinueLocalSlotMap
:
PEWriter\CustomDebugInfoWriter.cs (1)
142
CustomDebugInfoKind.
EditAndContinueLocalSlotMap
,
Microsoft.CodeAnalysis.UnitTests (25)
Emit\CustomDebugInfoTests.cs (25)
32
Assert.Throws<InvalidOperationException>(() => CustomDebugInfoReader.TryGetCustomDebugInfoRecord(new byte[0], CustomDebugInfoKind.
EditAndContinueLocalSlotMap
));
33
Assert.Throws<InvalidOperationException>(() => CustomDebugInfoReader.TryGetCustomDebugInfoRecord(new byte[] { 1 }, CustomDebugInfoKind.
EditAndContinueLocalSlotMap
));
34
Assert.Throws<InvalidOperationException>(() => CustomDebugInfoReader.TryGetCustomDebugInfoRecord(new byte[] { 1, 2 }, CustomDebugInfoKind.
EditAndContinueLocalSlotMap
));
37
Assert.True(CustomDebugInfoReader.TryGetCustomDebugInfoRecord(new byte[] { 5, 1, 0, 0 }, CustomDebugInfoKind.
EditAndContinueLocalSlotMap
).IsDefault);
43
4, (byte)CustomDebugInfoKind.
EditAndContinueLocalSlotMap
,
46
Assert.True(CustomDebugInfoReader.TryGetCustomDebugInfoRecord(cdi, CustomDebugInfoKind.
EditAndContinueLocalSlotMap
).IsDefault);
52
/*version*/4, /*kind*/(byte)CustomDebugInfoKind.
EditAndContinueLocalSlotMap
, /*padding*/0, 0, /*size:*/ 0, 0, 0, 0,
55
Assert.Throws<InvalidOperationException>(() => CustomDebugInfoReader.TryGetCustomDebugInfoRecord(cdi, CustomDebugInfoKind.
EditAndContinueLocalSlotMap
));
61
/*version*/4, /*kind*/(byte)CustomDebugInfoKind.
EditAndContinueLocalSlotMap
, /*padding*/0, 0, /*size:*/ 0x00, 0x00, 0x00, 0x80,
65
Assert.Throws<InvalidOperationException>(() => CustomDebugInfoReader.TryGetCustomDebugInfoRecord(cdi, CustomDebugInfoKind.
EditAndContinueLocalSlotMap
));
71
/*version*/4, /*kind*/(byte)CustomDebugInfoKind.
EditAndContinueLocalSlotMap
, /*padding*/0, 0, /*size:*/ 0x08, 0x00, 0x00, 0x00,
74
Assert.True(CustomDebugInfoReader.TryGetCustomDebugInfoRecord(cdi, CustomDebugInfoKind.
EditAndContinueLocalSlotMap
).IsEmpty);
80
/*version*/4, /*kind*/(byte)CustomDebugInfoKind.
EditAndContinueLocalSlotMap
, /*padding*/0, 0, /*size:*/ 0x0a, 0x00, 0x00, 0x00,
84
Assert.Throws<InvalidOperationException>(() => CustomDebugInfoReader.TryGetCustomDebugInfoRecord(cdi, CustomDebugInfoKind.
EditAndContinueLocalSlotMap
));
90
/*version*/4, /*kind*/(byte)CustomDebugInfoKind.
EditAndContinueLocalSlotMap
, /*padding*/0, 0, /*size:*/ 0x09, 0x00, 0x00, 0x00,
94
AssertEx.Equal(new byte[] { 0xab }, CustomDebugInfoReader.TryGetCustomDebugInfoRecord(cdi, CustomDebugInfoKind.
EditAndContinueLocalSlotMap
));
104
Assert.True(CustomDebugInfoReader.TryGetCustomDebugInfoRecord(cdi, CustomDebugInfoKind.
EditAndContinueLocalSlotMap
).IsDefault);
114
Assert.True(CustomDebugInfoReader.TryGetCustomDebugInfoRecord(cdi, CustomDebugInfoKind.
EditAndContinueLocalSlotMap
).IsDefault);
120
/*version*/4, /*kind*/(byte)CustomDebugInfoKind.
EditAndContinueLocalSlotMap
, /*padding*/0, 0, /*size:*/ 0x09, 0x00, 0x00, 0x00,
122
/*version*/4, /*kind*/(byte)CustomDebugInfoKind.
EditAndContinueLocalSlotMap
, /*padding*/0, 0, /*size:*/ 0x09, 0x00, 0x00, 0x00,
126
AssertEx.Equal(new byte[] { 0xab }, CustomDebugInfoReader.TryGetCustomDebugInfoRecord(cdi, CustomDebugInfoKind.
EditAndContinueLocalSlotMap
));
134
/*version*/4, /*kind*/(byte)CustomDebugInfoKind.
EditAndContinueLocalSlotMap
, /*padding*/0, 0, /*size:*/ 0x09, 0x00, 0x00, 0x00,
138
AssertEx.Equal(new byte[] { 0xcd }, CustomDebugInfoReader.TryGetCustomDebugInfoRecord(cdi, CustomDebugInfoKind.
EditAndContinueLocalSlotMap
));
146
/*version*/4, /*kind*/(byte)CustomDebugInfoKind.
EditAndContinueLocalSlotMap
, /*padding*/0, 0, /*size:*/ 0x09, 0x00, 0x00, 0x00,
361
Assert.Equal(CustomDebugInfoKind.
EditAndContinueLocalSlotMap
, deserialized[0].Kind);
Roslyn.Test.PdbUtilities (1)
Reader\CustomDebugInfoUtilities.cs (1)
26
return CustomDebugInfoReader.TryGetCustomDebugInfoRecord(customDebugInfoBlob, CustomDebugInfoKind.
EditAndContinueLocalSlotMap
);