1 instantiation of EditAndContinueMethodDebugInformation
Microsoft.CodeAnalysis (1)
Emit\EditAndContinueMethodDebugInformation.cs (1)
62return new EditAndContinueMethodDebugInformation(
67 references to EditAndContinueMethodDebugInformation
Microsoft.CodeAnalysis (21)
CodeGen\StateMachineStateDebugInfo.cs (2)
31/// For 1st generation EnC delta, this is calculated by examining the <see cref="EditAndContinueMethodDebugInformation.StateMachineStates"/> stored in the baseline metadata. 40/// For 1st generation EnC delta, this is calculated by examining the <see cref="EditAndContinueMethodDebugInformation.StateMachineStates"/> stored in the baseline metadata.
Emit\EditAndContinue\DefinitionMap.cs (4)
206protected abstract ImmutableArray<EncLocalInfo> GetLocalSlotMapFromMetadata(StandaloneSignatureHandle handle, EditAndContinueMethodDebugInformation debugInfo); 287EditAndContinueMethodDebugInformation debugInfo; 440EditAndContinueMethodDebugInformation debugInfo, 690EditAndContinueMethodDebugInformation provider;
Emit\EditAndContinue\EmitBaseline.cs (7)
84public static EmitBaseline CreateInitialBaseline(ModuleMetadata module, Func<MethodDefinitionHandle, EditAndContinueMethodDebugInformation> debugInformationProvider) 91Func<MethodDefinitionHandle, EditAndContinueMethodDebugInformation> debugInformationProvider, 141Func<MethodDefinitionHandle, EditAndContinueMethodDebugInformation> debugInformationProvider, 266/// The function shall return an empty <see cref="EditAndContinueMethodDebugInformation"/> if the method that corresponds to the specified handle 269internal readonly Func<MethodDefinitionHandle, EditAndContinueMethodDebugInformation> DebugInformationProvider; 317Func<MethodDefinitionHandle, EditAndContinueMethodDebugInformation> debugInformationProvider, 416Func<MethodDefinitionHandle, EditAndContinueMethodDebugInformation> debugInformationProvider,
Emit\EditAndContinueMethodDebugInformation.cs (2)
49public static EditAndContinueMethodDebugInformation Create(ImmutableArray<byte> compressedSlotMap, ImmutableArray<byte> compressedLambdaMap) 59public static EditAndContinueMethodDebugInformation Create(ImmutableArray<byte> compressedSlotMap, ImmutableArray<byte> compressedLambdaMap, ImmutableArray<byte> compressedStateMachineStateMap)
PEWriter\CustomDebugInfoWriter.cs (2)
124var encMethodInfo = MetadataWriter.GetEncMethodDebugInfo(methodBody); 134internal static void SerializeCustomDebugInformation(ref CustomDebugInfoEncoder encoder, EditAndContinueMethodDebugInformation debugInfo)
PEWriter\MetadataWriter.cs (1)
4151internal static EditAndContinueMethodDebugInformation GetEncMethodDebugInfo(IMethodBody methodBody)
PEWriter\MetadataWriter.PortablePdb.cs (1)
808var encInfo = GetEncMethodDebugInfo(methodBody);
SynthesizedLocalKind.cs (2)
224/// (<see cref="EditAndContinueMethodDebugInformation"/>) 231/// Not serialized to <see cref="EditAndContinueMethodDebugInformation"/>.
Microsoft.CodeAnalysis.CSharp (2)
Emitter\EditAndContinue\CSharpDefinitionMap.cs (2)
121protected override ImmutableArray<EncLocalInfo> GetLocalSlotMapFromMetadata(StandaloneSignatureHandle handle, EditAndContinueMethodDebugInformation debugInfo) 143EditAndContinueMethodDebugInformation methodEncInfo,
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (5)
Emit\EditAndContinue\AssemblyReferencesTests.cs (2)
69var baseline = CreateInitialBaseline(compilation0, md1.GetModules()[0], handle => default(EditAndContinueMethodDebugInformation)); 141var baseline = CreateInitialBaseline(compilation0, md1.GetModules()[0], handle => default(EditAndContinueMethodDebugInformation));
Emit\EditAndContinue\EditAndContinueTestBase.cs (3)
35internal static readonly Func<MethodDefinitionHandle, EditAndContinueMethodDebugInformation> EmptyLocalsProvider = handle => default(EditAndContinueMethodDebugInformation); 44public static EmitBaseline CreateInitialBaseline(Compilation compilation, ModuleMetadata module, Func<MethodDefinitionHandle, EditAndContinueMethodDebugInformation> debugInformationProvider)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (4)
EditAndContinueTestUtilities.cs (4)
19public static int GetMethodOrdinal(this EditAndContinueMethodDebugInformation debugInfo) 22public static IEnumerable<string> InspectLocalSlots(this EditAndContinueMethodDebugInformation debugInfo) 26public static IEnumerable<string> InspectLambdas(this EditAndContinueMethodDebugInformation debugInfo) 30public static IEnumerable<string> InspectClosures(this EditAndContinueMethodDebugInformation debugInfo)
Microsoft.CodeAnalysis.Features (5)
EditAndContinue\EditAndContinueMethodDebugInfoReader.cs (5)
31public abstract EditAndContinueMethodDebugInformation GetDebugInfo(MethodDefinitionHandle methodHandle); 65public override EditAndContinueMethodDebugInformation GetDebugInfo(MethodDefinitionHandle methodHandle) 99return EditAndContinueMethodDebugInformation.Create(localSlots, lambdaMap, stateMachineSuspensionPoints); 121public override EditAndContinueMethodDebugInformation GetDebugInfo(MethodDefinitionHandle methodHandle) 122=> EditAndContinueMethodDebugInformation.Create(
Microsoft.CodeAnalysis.Features.UnitTests (1)
EditAndContinue\EditAndContinueMethodDebugInfoReaderTests.cs (1)
87var debugInfo = reader.GetDebugInfo(MetadataTokens.MethodDefinitionHandle(5));
Microsoft.CodeAnalysis.Test.Utilities (2)
Compilation\CompilationTestDataExtensions.cs (2)
104internal static EditAndContinueMethodDebugInformation GetEncDebugInfo(this CompilationTestData.MethodData methodData) 115internal static Func<MethodDefinitionHandle, EditAndContinueMethodDebugInformation> EncDebugInfoProvider(this CompilationTestData.MethodData methodData)
Microsoft.CodeAnalysis.UnitTests (16)
Emit\CustomDebugInfoTests.cs (15)
154var e = Assert.Throws<InvalidDataException>(() => EditAndContinueMethodDebugInformation.Create(ImmutableArray.Create(new byte[] { 0x01, 0x68, 0xff }), ImmutableArray<byte>.Empty)); 157e = Assert.Throws<InvalidDataException>(() => EditAndContinueMethodDebugInformation.Create(ImmutableArray.Create(new byte[] { 0x01, 0x68, 0xff, 0xff, 0xff, 0xff }), ImmutableArray<byte>.Empty)); 160e = Assert.Throws<InvalidDataException>(() => EditAndContinueMethodDebugInformation.Create(ImmutableArray.Create(new byte[] { 0xff, 0xff, 0xff, 0xff }), ImmutableArray<byte>.Empty)); 171e = Assert.Throws<InvalidDataException>(() => EditAndContinueMethodDebugInformation.Create(ImmutableArray.Create(largeData), ImmutableArray<byte>.Empty)); 211var deserialized = EditAndContinueMethodDebugInformation.Create(bytes, default(ImmutableArray<byte>)).LocalSlots; 240var deserialized = EditAndContinueMethodDebugInformation.Create(default(ImmutableArray<byte>), bytes); 263var deserialized = EditAndContinueMethodDebugInformation.Create(default(ImmutableArray<byte>), bytes); 287var deserialized = EditAndContinueMethodDebugInformation.Create(default(ImmutableArray<byte>), bytes); 298var info = new EditAndContinueMethodDebugInformation( 317var deserialized = EditAndContinueMethodDebugInformation.Create( 337Assert.Throws<InvalidDataException>(() => EditAndContinueMethodDebugInformation.Create( 362var debugInfo = new EditAndContinueMethodDebugInformation(1, slots, closures, lambdas, states);
Emit\EmitBaselineTests.cs (1)
22var debugInfoProvider = new Func<MethodDefinitionHandle, EditAndContinueMethodDebugInformation>(_ => default);
Microsoft.CodeAnalysis.VisualBasic (2)
Emit\EditAndContinue\VisualBasicDefinitionMap.vb (2)
158Protected Overrides Function GetLocalSlotMapFromMetadata(handle As StandaloneSignatureHandle, debugInfo As EditAndContinueMethodDebugInformation) As ImmutableArray(Of EncLocalInfo) 173methodEncInfo As EditAndContinueMethodDebugInformation,
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (2)
Emit\EditAndContinue\EditAndContinueTestBase.vb (2)
30Friend Shared ReadOnly EmptyLocalsProvider As Func(Of MethodDefinitionHandle, EditAndContinueMethodDebugInformation) = Function(token) Nothing 39Public Shared Function CreateInitialBaseline(compilation As Compilation, [module] As ModuleMetadata, debugInformationProvider As Func(Of MethodDefinitionHandle, EditAndContinueMethodDebugInformation)) As EmitBaseline
Roslyn.Test.PdbUtilities (7)
EditAndContinue\EditAndContinueTest.cs (1)
38internal TSelf AddBaseline(string source, Action<GenerationVerifier>? validator = null, Func<MethodDefinitionHandle, EditAndContinueMethodDebugInformation>? debugInformationProvider = null)
EditAndContinue\EditAndContinueTestUtilities.cs (1)
19public static EmitBaseline CreateInitialBaseline(Compilation compilation, ModuleMetadata module, Func<MethodDefinitionHandle, EditAndContinueMethodDebugInformation> debugInformationProvider)
Reader\PdbTestUtilities.cs (5)
32public static unsafe EditAndContinueMethodDebugInformation GetEncMethodDebugInfo(this ISymUnmanagedReader3 symReader, MethodDefinitionHandle handle) 48return EditAndContinueMethodDebugInformation.Create( 58return EditAndContinueMethodDebugInformation.Create(default(ImmutableArray<byte>), default(ImmutableArray<byte>)); 86public static EditAndContinueMethodDebugInformation GetEncMethodDebugInfo(byte[] customDebugInfoBlob) 88return EditAndContinueMethodDebugInformation.Create(