10 references to Create
Microsoft.CodeAnalysis.UnitTests (8)
Emit\CustomDebugInfoTests.cs (8)
158
var e = Assert.Throws<InvalidDataException>(() => EditAndContinueMethodDebugInformation.
Create
(ImmutableArray.Create(new byte[] { 0x01, 0x68, 0xff }), ImmutableArray<byte>.Empty));
161
e = Assert.Throws<InvalidDataException>(() => EditAndContinueMethodDebugInformation.
Create
(ImmutableArray.Create(new byte[] { 0x01, 0x68, 0xff, 0xff, 0xff, 0xff }), ImmutableArray<byte>.Empty));
164
e = Assert.Throws<InvalidDataException>(() => EditAndContinueMethodDebugInformation.
Create
(ImmutableArray.Create(new byte[] { 0xff, 0xff, 0xff, 0xff }), ImmutableArray<byte>.Empty));
175
e = Assert.Throws<InvalidDataException>(() => EditAndContinueMethodDebugInformation.
Create
(ImmutableArray.Create(largeData), ImmutableArray<byte>.Empty));
215
var deserialized = EditAndContinueMethodDebugInformation.
Create
(bytes, default(ImmutableArray<byte>)).LocalSlots;
244
var deserialized = EditAndContinueMethodDebugInformation.
Create
(default(ImmutableArray<byte>), bytes);
267
var deserialized = EditAndContinueMethodDebugInformation.
Create
(default(ImmutableArray<byte>), bytes);
291
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
(