10 references to Create
Microsoft.CodeAnalysis.UnitTests (8)
Emit\CustomDebugInfoTests.cs (8)
154
var e = Assert.Throws<InvalidDataException>(() => EditAndContinueMethodDebugInformation.
Create
(ImmutableArray.Create(new byte[] { 0x01, 0x68, 0xff }), ImmutableArray<byte>.Empty));
157
e = Assert.Throws<InvalidDataException>(() => EditAndContinueMethodDebugInformation.
Create
(ImmutableArray.Create(new byte[] { 0x01, 0x68, 0xff, 0xff, 0xff, 0xff }), ImmutableArray<byte>.Empty));
160
e = Assert.Throws<InvalidDataException>(() => EditAndContinueMethodDebugInformation.
Create
(ImmutableArray.Create(new byte[] { 0xff, 0xff, 0xff, 0xff }), ImmutableArray<byte>.Empty));
171
e = Assert.Throws<InvalidDataException>(() => EditAndContinueMethodDebugInformation.
Create
(ImmutableArray.Create(largeData), ImmutableArray<byte>.Empty));
211
var deserialized = EditAndContinueMethodDebugInformation.
Create
(bytes, default(ImmutableArray<byte>)).LocalSlots;
240
var deserialized = EditAndContinueMethodDebugInformation.
Create
(default(ImmutableArray<byte>), bytes);
263
var deserialized = EditAndContinueMethodDebugInformation.
Create
(default(ImmutableArray<byte>), bytes);
287
var deserialized = EditAndContinueMethodDebugInformation.
Create
(default(ImmutableArray<byte>), bytes);
Roslyn.Test.PdbUtilities (2)
Reader\PdbTestUtilities.cs (2)
58
return EditAndContinueMethodDebugInformation.
Create
(default(ImmutableArray<byte>), default(ImmutableArray<byte>));
88
return EditAndContinueMethodDebugInformation.
Create
(