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