2 instantiations of LocalScope
Microsoft.CodeAnalysis (2)
CodeGen\LocalScopeManager.cs (2)
131
result.Add(new Cci.
LocalScope
(
459
var newScope = new Cci.
LocalScope
(
33 references to LocalScope
Microsoft.CodeAnalysis (33)
CodeGen\ILBuilder.cs (1)
208
internal ImmutableArray<Cci.
LocalScope
> GetAllScopes() => _scopeManager.GetAllScopesWithLocals();
CodeGen\LocalScopeManager.cs (11)
120
internal ImmutableArray<Cci.
LocalScope
> GetAllScopesWithLocals()
122
var result = ArrayBuilder<Cci.
LocalScope
>.GetInstance();
256
internal abstract ScopeBounds GetLocalScopes(ArrayBuilder<Cci.
LocalScope
> result);
258
protected static ScopeBounds GetLocalScopes<TScopeInfo>(ArrayBuilder<Cci.
LocalScope
> result, ImmutableArray<TScopeInfo>.Builder scopes)
426
internal override ScopeBounds GetLocalScopes(ArrayBuilder<Cci.
LocalScope
> result)
459
var
newScope = new Cci.LocalScope(
814
internal override ScopeBounds GetLocalScopes(ArrayBuilder<Cci.
LocalScope
> scopesWithVariables)
822
var scopes = ArrayBuilder<Cci.
LocalScope
>.GetInstance();
876
private sealed class ScopeComparer : IComparer<Cci.
LocalScope
>
882
public int Compare(Cci.
LocalScope
x, Cci.
LocalScope
y)
CodeGen\MethodBody.cs (3)
28
private readonly ImmutableArray<Cci.
LocalScope
> _localScopes;
62
ImmutableArray<Cci.
LocalScope
> localScopes,
136
ImmutableArray<Cci.
LocalScope
> Cci.IMethodBody.LocalScopes => _localScopes;
Emit\EditAndContinue\DeletedMethodBody.cs (2)
40
public ImmutableArray<Cci.
LocalScope
> LocalScopes => ImmutableArray<Cci.
LocalScope
>.Empty;
Emit\NoPia\CommonEmbeddedMethod.cs (2)
145
ImmutableArray<Cci.
LocalScope
> Cci.IMethodBody.LocalScopes =>
146
ImmutableArray<Cci.
LocalScope
>.Empty;
NativePdbWriter\PdbWriter.cs (6)
461
private void DefineLocalScopes(ImmutableArray<
LocalScope
> scopes, StandaloneSignatureHandle localSignatureHandleOpt)
467
var scopeStack = ArrayBuilder<
LocalScope
>.GetInstance();
471
var
currentScope = scopes[i];
476
LocalScope
topScope = scopeStack.Last();
495
LocalScope
scope = scopeStack[i];
502
private void DefineScopeLocals(
LocalScope
currentScope, StandaloneSignatureHandle localSignatureHandleOpt)
PEWriter\CustomDebugInfoWriter.cs (3)
167
Func<
LocalScope
, ILocalDefinition, T> getInfo)
171
foreach (
var
currentScope in methodBody.LocalScopes)
182
builder.Add(getInfo(default(
LocalScope
), local));
PEWriter\Members.cs (1)
436
ImmutableArray<
LocalScope
> LocalScopes { get; }
PEWriter\MetadataVisitor.cs (1)
264
foreach (
var
scope in methodBody.LocalScopes)
PEWriter\MetadataWriter.PortablePdb.cs (1)
95
foreach (
LocalScope
scope in bodyOpt.LocalScopes)
PEWriter\RootModuleStaticConstructor.cs (2)
148
public ImmutableArray<
LocalScope
> LocalScopes => ImmutableArray<
LocalScope
>.Empty;