4 writes to scope
Mono.Cecil (2)
Mono.Cecil.Cil\PortablePdb.cs (1)
142
method_info.
scope
= debug_reader.ReadScope (method_info.method);
Mono.Cecil.Cil\Symbols.cs (1)
749
set {
scope
= value; }
Mono.Cecil.Mdb (1)
Mono.Cecil.Mdb\MdbReader.cs (1)
141
info.
scope
= scopes [0] = new ScopeDebugInformation {
Mono.Cecil.Pdb (1)
Mono.Cecil.Pdb\NativePdbReader.cs (1)
110
symbol.
scope
= !function.scopes.IsNullOrEmpty ()
21 references to scope
Mono.Cecil (5)
Mono.Cecil.Cil\CodeReader.cs (2)
381
if (method.debug_info.
scope
!= null)
382
ReadScope (method.debug_info.
scope
);
Mono.Cecil.Cil\Symbols.cs (3)
748
get { return
scope
; }
804
if (
scope
== null)
807
return GetScopes (new[] {
scope
});
Mono.Cecil.Mdb (4)
Mono.Cecil.Mdb\MdbReader.cs (2)
156
if (!AddScope (info.
scope
.Scopes, scope))
157
info.
scope
.Scopes.Add (scope);
Mono.Cecil.Mdb\MdbWriter.cs (2)
123
if (info.
scope
!= null)
124
WriteRootScope (info.
scope
, info);
Mono.Cecil.Pdb (12)
Mono.Cecil.Pdb\NativePdbReader.cs (3)
115
symbol.
scope
.import = GetImport (function.tokenOfMethodWhoseUsingInfoAppliesToThisMethod, method.Module);
120
if (!AddScope (symbol.
scope
.Scopes, s))
121
symbol.
scope
.Scopes.Add (s);
Mono.Cecil.Pdb\NativePdbWriter.cs (9)
58
if (!info.HasSequencePoints && info.
scope
== null && !info.HasCustomDebugInformations && info.StateMachineKickOffMethod == null)
68
if (info.
scope
!= null)
69
DefineScope (info.
scope
, info, out import_parent);
82
} else if (info.
scope
!= null && info.
scope
.Import != null && info.
scope
.Import.HasTargets) {
83
metadata.WriteUsingInfo (info.
scope
.Import);
151
if (scope.Import != null && scope.Import.HasTargets && !import_info_to_parent.TryGetValue (info.
scope
.Import, out import_parent)) {
169
import_info_to_parent.Add (info.
scope
.Import, info.method.MetadataToken);