3 implementations of ILocalDefinition
Microsoft.CodeAnalysis (3)
CodeGen\LocalConstantDefinition.cs (1)
17
internal sealed class LocalConstantDefinition : Cci.
ILocalDefinition
CodeGen\LocalDefinition.cs (1)
14
internal sealed class LocalDefinition : Cci.
ILocalDefinition
CodeGen\SignatureOnlyLocalDefinition.cs (1)
18
internal sealed class SignatureOnlyLocalDefinition : Cci.
ILocalDefinition
50 references to ILocalDefinition
Microsoft.CodeAnalysis (50)
CodeGen\LocalDefinition.cs (1)
40
/// <see cref="Cci.
ILocalDefinition
.PdbAttributes"/>.
CodeGen\LocalScopeManager.cs (4)
134
ImmutableArray<Cci.
ILocalDefinition
>.Empty,
135
ImmutableArray<Cci.
ILocalDefinition
>.Empty));
462
_localConstants.AsImmutableOrEmpty<Cci.
ILocalDefinition
>(),
463
_localVariables.AsImmutableOrEmpty<Cci.
ILocalDefinition
>());
CodeGen\LocalSlotManager.cs (5)
71
private ArrayBuilder<Cci.
ILocalDefinition
>? _lazyAllLocals;
85
_lazyAllLocals = new ArrayBuilder<Cci.
ILocalDefinition
>();
201
_lazyAllLocals = new ArrayBuilder<Cci.
ILocalDefinition
>(1);
252
public ImmutableArray<Cci.
ILocalDefinition
> LocalsInOrder()
256
return ImmutableArray<Cci.
ILocalDefinition
>.Empty;
CodeGen\MethodBody.cs (3)
22
private readonly ImmutableArray<Cci.
ILocalDefinition
> _locals;
56
ImmutableArray<Cci.
ILocalDefinition
> locals,
124
ImmutableArray<Cci.
ILocalDefinition
> Cci.IMethodBody.LocalVariables => _locals;
CodeGen\VariableSlotAllocator.cs (1)
16
public abstract void AddPreviousLocals(ArrayBuilder<Cci.
ILocalDefinition
> builder);
Emit\EditAndContinue\DeletedMethodBody.cs (2)
28
public ImmutableArray<Cci.
ILocalDefinition
> LocalVariables => ImmutableArray<Cci.
ILocalDefinition
>.Empty;
Emit\EditAndContinue\DeltaMetadataWriter.cs (3)
863
foreach (
ILocalDefinition
local in localVariables)
906
private EncLocalInfo CreateEncLocalInfo(
ILocalDefinition
localDef, byte[] signature)
1854
public override void Visit(
ILocalDefinition
localDefinition)
Emit\EditAndContinue\EncVariableSlotAllocator.cs (1)
110
public override void AddPreviousLocals(ArrayBuilder<Cci.
ILocalDefinition
> builder)
Emit\NoPia\CommonEmbeddedMethod.cs (2)
128
ImmutableArray<Cci.
ILocalDefinition
> Cci.IMethodBody.LocalVariables =>
129
ImmutableArray<Cci.
ILocalDefinition
>.Empty;
NativePdbWriter\PdbWriter.cs (2)
504
foreach (
ILocalDefinition
scopeConstant in currentScope.Constants)
516
foreach (
ILocalDefinition
scopeLocal in currentScope.Variables)
PEWriter\CustomDebugInfoWriter.cs (5)
166
Func<
ILocalDefinition
, bool> filter,
167
Func<LocalScope,
ILocalDefinition
, T> getInfo)
173
foreach (
var
local in currentScope.Variables)
186
foreach (
var
localConstant in currentScope.Constants)
210
byte[] GetDynamicFlags(
ILocalDefinition
local)
PEWriter\LocalScope.cs (6)
27
private readonly ImmutableArray<
ILocalDefinition
> _constants;
28
private readonly ImmutableArray<
ILocalDefinition
> _locals;
30
internal LocalScope(int offset, int endOffset, ImmutableArray<
ILocalDefinition
> constants, ImmutableArray<
ILocalDefinition
> locals)
49
public ImmutableArray<
ILocalDefinition
> Constants => _constants.NullToEmpty();
54
public ImmutableArray<
ILocalDefinition
> Variables => _locals.NullToEmpty();
PEWriter\Members.cs (1)
407
ImmutableArray<
ILocalDefinition
> LocalVariables { get; }
PEWriter\MetadataVisitor.cs (3)
198
public void Visit(ImmutableArray<
ILocalDefinition
> localDefinitions)
200
foreach (
ILocalDefinition
localDefinition in localDefinitions)
206
public virtual void Visit(
ILocalDefinition
localDefinition)
PEWriter\MetadataWriter.cs (5)
1407
internal bool IsLocalNameTooLong(
ILocalDefinition
localDefinition)
3054
foreach (
ILocalDefinition
local in localVariables)
3067
protected void SerializeLocalVariableType(LocalVariableTypeEncoder encoder,
ILocalDefinition
local)
3077
internal StandaloneSignatureHandle SerializeLocalConstantStandAloneSignature(
ILocalDefinition
localConstant)
4175
internal static ImmutableArray<LocalSlotDebugInfo> GetLocalSlotDebugInfos(ImmutableArray<
ILocalDefinition
> locals)
PEWriter\MetadataWriter.PortablePdb.cs (4)
105
foreach (
ILocalDefinition
local in scope.Variables)
117
foreach (
ILocalDefinition
constant in scope.Constants)
170
private BlobHandle SerializeLocalConstantSignature(
ILocalDefinition
localConstant)
487
private void SerializeLocalInfo(
ILocalDefinition
local, EntityHandle parent)
PEWriter\RootModuleStaticConstructor.cs (2)
140
public ImmutableArray<
ILocalDefinition
> LocalVariables => ImmutableArray<
ILocalDefinition
>.Empty;