5 instantiations of ScopeDebugInformation
Mono.Cecil (1)
Mono.Cecil\AssemblyReader.cs (1)
2941
var scope = new
ScopeDebugInformation
Mono.Cecil.Mdb (2)
Mono.Cecil.Mdb\MdbReader.cs (2)
141
info.scope = scopes [0] = new
ScopeDebugInformation
{
150
var scope = new
ScopeDebugInformation
();
Mono.Cecil.Pdb (2)
Mono.Cecil.Pdb\NativePdbReader.cs (2)
112
: new
ScopeDebugInformation
{ Start = new InstructionOffset (0), End = new InstructionOffset ((int) function.length) };
165
var parent = new
ScopeDebugInformation
();
53 references to ScopeDebugInformation
illink (3)
Linker.Steps\SweepStep.cs (3)
522
List<
ScopeDebugInformation
>? sweptScopes = null;
528
var
scope = m.DebugInformation.Scope;
534
sweptScopes = new List<
ScopeDebugInformation
>();
Mono.Cecil (29)
Mono.Cecil.Cil\CodeReader.cs (2)
444
void ReadScopes (Collection<
ScopeDebugInformation
> scopes)
450
void ReadScope (
ScopeDebugInformation
scope)
Mono.Cecil.Cil\MethodBody.cs (3)
181
foreach (
var
scope in debug_info.GetScopes ()) {
355
void UpdateLocalScope (
ScopeDebugInformation
scope, ref InstructionOffsetResolver resolver)
363
foreach (
var
subScope in scope.Scopes)
Mono.Cecil.Cil\Symbols.cs (12)
99
internal Collection<
ScopeDebugInformation
> scopes;
122
public Collection<
ScopeDebugInformation
> Scopes {
125
Interlocked.CompareExchange (ref scopes, new Collection<
ScopeDebugInformation
> (), null);
725
internal
ScopeDebugInformation
scope;
747
public
ScopeDebugInformation
Scope {
802
public IEnumerable<
ScopeDebugInformation
> GetScopes ()
805
return Empty<
ScopeDebugInformation
>.Array;
810
static IEnumerable<
ScopeDebugInformation
> GetScopes (IList<
ScopeDebugInformation
> scopes)
813
var
scope = scopes [i];
820
foreach (
var
sub_scope in GetScopes (scope.Scopes))
832
foreach (
var
scope in GetScopes ()) {
Mono.Cecil\AssemblyReader.cs (9)
2895
public
ScopeDebugInformation
ReadScope (MethodDefinition method)
2904
var
method_scope = null as
ScopeDebugInformation
;
2907
var
scope = ReadLocalScope (records [i]);
2921
static bool AddScope (Collection<
ScopeDebugInformation
> scopes,
ScopeDebugInformation
scope)
2926
foreach (
var
sub_scope in scopes) {
2939
ScopeDebugInformation
ReadLocalScope (Row<uint, Range, Range, uint, uint, uint> record)
2941
var
scope = new ScopeDebugInformation
Mono.Cecil\AssemblyWriter.cs (3)
2332
void AddLocalScope (MethodDebugInformation method_info,
ScopeDebugInformation
scope)
2356
void AddLocalVariables (
ScopeDebugInformation
scope)
2368
void AddLocalConstants (
ScopeDebugInformation
scope)
Mono.Cecil.Mdb (12)
Mono.Cecil.Mdb\MdbReader.cs (8)
85
static void ReadLocalVariables (MethodEntry entry,
ScopeDebugInformation
[] scopes)
96
var
scope = scopes [index];
136
static
ScopeDebugInformation
[] ReadScopes (MethodEntry entry, MethodDebugInformation info)
139
var scopes = new
ScopeDebugInformation
[blocks.Length + 1];
150
var
scope = new ScopeDebugInformation ();
163
static bool AddScope (Collection<
ScopeDebugInformation
> scopes,
ScopeDebugInformation
scope)
165
foreach (
var
sub_scope in scopes) {
Mono.Cecil.Mdb\MdbWriter.cs (4)
129
void WriteRootScope (
ScopeDebugInformation
scope, MethodDebugInformation info)
137
void WriteScope (
ScopeDebugInformation
scope, MethodDebugInformation info)
149
void WriteScopes (Collection<
ScopeDebugInformation
> scopes, MethodDebugInformation info)
155
void WriteScopeVariables (
ScopeDebugInformation
scope)
Mono.Cecil.Pdb (9)
Mono.Cecil.Pdb\NativePdbReader.cs (8)
119
var
s = ReadScopeAndLocals (function.scopes [i], symbol);
152
Collection<
ScopeDebugInformation
> ReadScopeAndLocals (PdbScope [] scopes, MethodDebugInformation info)
154
var symbols = new Collection<
ScopeDebugInformation
> (scopes.Length);
163
ScopeDebugInformation
ReadScopeAndLocals (PdbScope scope, MethodDebugInformation info)
165
var
parent = new ScopeDebugInformation ();
215
static bool AddScope (Collection<
ScopeDebugInformation
> scopes,
ScopeDebugInformation
scope)
217
foreach (
var
sub_scope in scopes) {
Mono.Cecil.Pdb\NativePdbWriter.cs (1)
140
void DefineScope (
ScopeDebugInformation
scope, MethodDebugInformation info, out MetadataToken import_parent)