10 instantiations of LambdaDebugInfo
Microsoft.CodeAnalysis (1)
Emit\EditAndContinueMethodDebugInformation.cs (1)
248lambdasBuilder.Add(new LambdaDebugInfo(syntaxOffset + syntaxOffsetBaseline, lambdaId, closureOrdinal));
Microsoft.CodeAnalysis.CSharp (1)
Lowering\ClosureConversion\ClosureConversion.cs (1)
1479_lambdaDebugInfoBuilder.Add(new LambdaDebugInfo(syntaxOffset, lambdaId, closureOrdinal));
Microsoft.CodeAnalysis.UnitTests (7)
Emit\CustomDebugInfoTests.cs (7)
231new LambdaDebugInfo(20, new DebugId(0, 0), 1), 232new LambdaDebugInfo(-50, new DebugId(1, 0), 0), 233new LambdaDebugInfo(-180, new DebugId(2, 0), LambdaDebugInfo.StaticClosureOrdinal)); 256var lambdas = ImmutableArray.Create(new LambdaDebugInfo(20, new DebugId(0, 0), LambdaDebugInfo.StaticClosureOrdinal)); 310new LambdaDebugInfo(20, new DebugId(0, 0), 1), 311new LambdaDebugInfo(-50, new DebugId(1, 0), 0), 312new LambdaDebugInfo(-180, new DebugId(2, 0), LambdaDebugInfo.StaticClosureOrdinal));
Microsoft.CodeAnalysis.VisualBasic (1)
Lowering\LambdaRewriter\LambdaRewriter.vb (1)
1015_lambdaDebugInfoBuilder.Add(New LambdaDebugInfo(syntaxOffset, lambdaId, closureOrdinal))
60 references to LambdaDebugInfo
Microsoft.CodeAnalysis (27)
CodeGen\LambdaDebugInfo.cs (4)
18internal struct LambdaDebugInfo : IEquatable<LambdaDebugInfo> 47public bool Equals(LambdaDebugInfo other) 56return obj is LambdaDebugInfo && Equals((LambdaDebugInfo)obj);
CodeGen\MethodBody.cs (3)
38private readonly ImmutableArray<LambdaDebugInfo> _lambdaDebugInfo; 64ImmutableArray<LambdaDebugInfo> lambdaDebugInfo, 155public ImmutableArray<LambdaDebugInfo> LambdaDebugInfo => _lambdaDebugInfo;
Emit\EditAndContinue\AddedOrChangedMethodInfo.cs (2)
20public readonly ImmutableArray<LambdaDebugInfo> LambdaDebugInfo; 32ImmutableArray<LambdaDebugInfo> lambdaDebugInfo,
Emit\EditAndContinue\DefinitionMap.cs (2)
365ImmutableArray<LambdaDebugInfo> lambdaDebugInfo, 375var lambdaInfo = lambdaDebugInfo[i];
Emit\EditAndContinue\DeletedMethodBody.cs (2)
65public ImmutableArray<LambdaDebugInfo> LambdaDebugInfo => ImmutableArray<LambdaDebugInfo>.Empty;
Emit\EditAndContinueMethodDebugInformation.cs (9)
23internal readonly ImmutableArray<LambdaDebugInfo> Lambdas; 31ImmutableArray<LambdaDebugInfo> lambdas, 201out ImmutableArray<LambdaDebugInfo> lambdas) 213var lambdasBuilder = ArrayBuilder<LambdaDebugInfo>.GetInstance(); 240int closureOrdinal = blobReader.ReadCompressedInteger() + LambdaDebugInfo.MinClosureOrdinal; 278foreach (LambdaDebugInfo info in Lambdas) 294foreach (LambdaDebugInfo info in Lambdas) 296Debug.Assert(info.ClosureOrdinal >= LambdaDebugInfo.MinClosureOrdinal); 300writer.WriteCompressedInteger(info.ClosureOrdinal - LambdaDebugInfo.MinClosureOrdinal);
Emit\NoPia\CommonEmbeddedMethod.cs (2)
161ImmutableArray<LambdaDebugInfo> Cci.IMethodBody.LambdaDebugInfo => 162default(ImmutableArray<LambdaDebugInfo>);
PEWriter\Members.cs (1)
488ImmutableArray<LambdaDebugInfo> LambdaDebugInfo { get; }
PEWriter\RootModuleStaticConstructor.cs (2)
162public ImmutableArray<LambdaDebugInfo> LambdaDebugInfo => ImmutableArray<LambdaDebugInfo>.Empty;
Microsoft.CodeAnalysis.CSharp (13)
Compiler\MethodCompiler.cs (7)
257var lambdaDebugInfoBuilder = ArrayBuilder<LambdaDebugInfo>.GetInstance(); 297ImmutableArray<LambdaDebugInfo>.Empty, 768ImmutableArray<LambdaDebugInfo>.Empty, 893ImmutableArray<LambdaDebugInfo>.Empty, 1212var lambdaDebugInfoBuilder = ArrayBuilder<LambdaDebugInfo>.GetInstance(); 1412ArrayBuilder<LambdaDebugInfo> lambdaDebugInfoBuilder, 1527ImmutableArray<LambdaDebugInfo> lambdaDebugInfo,
Lowering\ClosureConversion\ClosureConversion.cs (6)
104private readonly ArrayBuilder<LambdaDebugInfo> _lambdaDebugInfoBuilder; 161ArrayBuilder<LambdaDebugInfo> lambdaDebugInfoBuilder, 230ArrayBuilder<LambdaDebugInfo> lambdaDebugInfoBuilder, 426closureOrdinal = LambdaDebugInfo.ThisOnlyClosureOrdinal; 440closureOrdinal = LambdaDebugInfo.StaticClosureOrdinal; 448closureOrdinal = LambdaDebugInfo.StaticClosureOrdinal;
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler (1)
Symbols\EEMethodSymbol.cs (1)
652var lambdaDebugInfoBuilder = ArrayBuilder<LambdaDebugInfo>.GetInstance();
Microsoft.CodeAnalysis.Test.Utilities (1)
Compilation\CompilationTestDataExtensions.cs (1)
111lambdas: ImmutableArray<LambdaDebugInfo>.Empty,
Microsoft.CodeAnalysis.UnitTests (5)
Emit\CustomDebugInfoTests.cs (5)
205var lambdas = ImmutableArray<LambdaDebugInfo>.Empty; 233new LambdaDebugInfo(-180, new DebugId(2, 0), LambdaDebugInfo.StaticClosureOrdinal)); 256var lambdas = ImmutableArray.Create(new LambdaDebugInfo(20, new DebugId(0, 0), LambdaDebugInfo.StaticClosureOrdinal)); 280var lambdas = ImmutableArray<LambdaDebugInfo>.Empty; 312new LambdaDebugInfo(-180, new DebugId(2, 0), LambdaDebugInfo.StaticClosureOrdinal));
Microsoft.CodeAnalysis.VisualBasic (13)
Compilation\MethodCompiler.vb (7)
316lambdaDebugInfo:=ImmutableArray(Of LambdaDebugInfo).Empty, 886lambdaDebugInfo:=ImmutableArray(Of LambdaDebugInfo).Empty, 917Dim lambdaDebugInfoBuilder = ArrayBuilder(Of LambdaDebugInfo).GetInstance() 1024lambdaDebugInfo:=ImmutableArray(Of LambdaDebugInfo).Empty, 1367Dim lambdaDebugInfoBuilder = ArrayBuilder(Of LambdaDebugInfo).GetInstance() 1480Dim lambdaDebugInfoBuilder = ArrayBuilder(Of LambdaDebugInfo).GetInstance() 1564lambdaDebugInfo As ImmutableArray(Of LambdaDebugInfo),
Lowering\LambdaRewriter\LambdaRewriter.vb (5)
78Private ReadOnly _lambdaDebugInfoBuilder As ArrayBuilder(Of LambdaDebugInfo) 115lambdaDebugInfoBuilder As ArrayBuilder(Of LambdaDebugInfo), 155lambdaDebugInfoBuilder As ArrayBuilder(Of LambdaDebugInfo), 1051closureOrdinal = LambdaDebugInfo.StaticClosureOrdinal 1055closureOrdinal = LambdaDebugInfo.ThisOnlyClosureOrdinal
Lowering\Rewriter.vb (1)
28lambdaDebugInfoBuilder As ArrayBuilder(Of LambdaDebugInfo),