private EvaluationContext( MethodContextReuseConstraints?methodContextReuseConstraints, CSharpCompilation compilation, MethodSymbol currentFrame, ImmutableArray <LocalSymbol> locals, InScopeHoistedLocals inScopeHoistedLocals, MethodDebugInfo <TypeSymbol, LocalSymbol> methodDebugInfo) { Debug.Assert(inScopeHoistedLocals != null); Debug.Assert(methodDebugInfo != null); this.MethodContextReuseConstraints = methodContextReuseConstraints; this.Compilation = compilation; _currentFrame = currentFrame; _locals = locals; _inScopeHoistedLocals = inScopeHoistedLocals; _methodDebugInfo = methodDebugInfo; }
private EvaluationContext( ImmutableArray <MetadataBlock> metadataBlocks, MethodContextReuseConstraints?methodContextReuseConstraints, CSharpCompilation compilation, MetadataDecoder metadataDecoder, MethodSymbol currentFrame, ImmutableArray <LocalSymbol> locals, InScopeHoistedLocals inScopeHoistedLocals, MethodDebugInfo methodDebugInfo) { Debug.Assert(inScopeHoistedLocals != null); this.MetadataBlocks = metadataBlocks; this.MethodContextReuseConstraints = methodContextReuseConstraints; this.Compilation = compilation; _metadataDecoder = metadataDecoder; _currentFrame = currentFrame; _locals = locals; _inScopeHoistedLocals = inScopeHoistedLocals; _methodDebugInfo = methodDebugInfo; }