4 implementations of IParameterDefinition
Microsoft.CodeAnalysis (4)
Emit\EditAndContinue\DeletedSourceParameterDefinition.cs (2)
14
internal sealed class DeletedSourceParameterDefinition : DeletedSourceDefinition<
IParameterDefinition
>,
IParameterDefinition
Emit\NoPia\CommonEmbeddedParameter.cs (1)
39
internal abstract class CommonEmbeddedParameter : Cci.IEmbeddedDefinition, Cci.
IParameterDefinition
PEWriter\ReturnValueParameter.cs (1)
12
internal class ReturnValueParameter :
IParameterDefinition
57 references to IParameterDefinition
Microsoft.CodeAnalysis (57)
Emit\EditAndContinue\DeletedPEMethodDefinition.cs (1)
110
public ImmutableArray<Cci.
IParameterDefinition
> Parameters
Emit\EditAndContinue\DeletedSourceDefinition.cs (1)
51
protected ImmutableArray<DeletedSourceParameterDefinition> WrapParameters(ImmutableArray<
IParameterDefinition
> parameters)
Emit\EditAndContinue\DeletedSourceMethodDefinition.cs (2)
61
public ImmutableArray<
IParameterDefinition
> Parameters => StaticCast<
IParameterDefinition
>.From(_parameters);
Emit\EditAndContinue\DeletedSourceParameterDefinition.cs (1)
16
public DeletedSourceParameterDefinition(
IParameterDefinition
oldParameter, Dictionary<ITypeDefinition, DeletedSourceTypeDefinition> typesUsedByDeletedMembers)
Emit\EditAndContinue\DeltaMetadataWriter.cs (13)
45
private readonly DefinitionIndex<
IParameterDefinition
> _parameterDefs;
46
private readonly Dictionary<
IParameterDefinition
, IMethodDefinition> _parameterDefList;
59
private readonly Dictionary<
IParameterDefinition
, int> _existingParameterDefs;
110
_parameterDefs = new DefinitionIndex<
IParameterDefinition
>(this.TryGetExistingParameterDefIndex, sizes[(int)TableIndex.Param]);
111
_parameterDefList = new Dictionary<
IParameterDefinition
, IMethodDefinition>(Cci.SymbolEquivalentEqualityComparer.Instance);
121
_existingParameterDefs = new Dictionary<
IParameterDefinition
, int>(ReferenceEqualityComparer.Instance);
379
protected override ParameterHandle GetParameterHandle(
IParameterDefinition
def)
382
protected override IReadOnlyList<
IParameterDefinition
> GetParameterDefs()
736
foreach (
var
paramDef in this.GetParametersToEmit(methodDef))
781
var
paramDef = paramDefinitions[i];
794
foreach (
var
paramDef in GetParametersToEmit(methodDef))
1183
foreach (
var
paramDef in GetParameterDefs())
1671
private bool TryGetExistingParameterDefIndex(
IParameterDefinition
item, out int index)
Emit\NoPia\CommonEmbeddedMethod.cs (2)
213
ImmutableArray<Cci.
IParameterDefinition
> Cci.IMethodDefinition.Parameters
217
return StaticCast<Cci.
IParameterDefinition
>.From(_parameters);
Emit\NoPia\CommonEmbeddedParameter.cs (8)
132
bool Cci.
IParameterDefinition
.HasDefaultValue
140
MetadataConstant Cci.
IParameterDefinition
.GetDefaultValue(EmitContext context)
145
bool Cci.
IParameterDefinition
.IsIn
153
bool Cci.
IParameterDefinition
.IsOut
161
bool Cci.
IParameterDefinition
.IsOptional
169
bool Cci.
IParameterDefinition
.IsMarshalledExplicitly
177
Cci.IMarshallingInformation Cci.
IParameterDefinition
.MarshallingInformation
185
ImmutableArray<byte> Cci.
IParameterDefinition
.MarshallingDescriptor
Emit\NoPia\CommonEmbeddedProperty.cs (2)
124
ImmutableArray<Cci.
IParameterDefinition
> Cci.IPropertyDefinition.Parameters
126
get { return StaticCast<Cci.
IParameterDefinition
>.From(_parameters); }
Emit\NoPia\VtblGap.cs (2)
108
ImmutableArray<Cci.
IParameterDefinition
> Cci.IMethodDefinition.Parameters
110
get { return ImmutableArray<Cci.
IParameterDefinition
>.Empty; }
PEWriter\FullMetadataWriter.cs (5)
25
private readonly DefinitionIndex<
IParameterDefinition
> _parameterDefs;
98
_parameterDefs = new DefinitionIndex<
IParameterDefinition
>(numMethods);
205
protected override ParameterHandle GetParameterHandle(
IParameterDefinition
def)
210
protected override IReadOnlyList<
IParameterDefinition
> GetParameterDefs()
415
foreach (
var
paramDef in this.GetParametersToEmit(methodDef))
PEWriter\Members.cs (2)
617
ImmutableArray<
IParameterDefinition
> Parameters { get; }
776
ImmutableArray<
IParameterDefinition
> Parameters { get; }
PEWriter\MetadataVisitor.cs (3)
425
public void Visit(ImmutableArray<
IParameterDefinition
> parameters)
427
foreach (
IParameterDefinition
parameter in parameters)
433
public virtual void Visit(
IParameterDefinition
parameterDefinition)
PEWriter\MetadataWriter.cs (13)
250
protected abstract ParameterHandle GetParameterHandle(
IParameterDefinition
def);
256
protected abstract IReadOnlyList<
IParameterDefinition
> GetParameterDefs();
588
protected ImmutableArray<
IParameterDefinition
> GetParametersToEmit(IMethodDefinition methodDef)
592
return ImmutableArray<
IParameterDefinition
>.Empty;
598
private ImmutableArray<
IParameterDefinition
> GetParametersToEmitCore(IMethodDefinition methodDef)
600
ArrayBuilder<
IParameterDefinition
> builder = null;
605
builder = ArrayBuilder<
IParameterDefinition
>.GetInstance(parameters.Length + 1);
611
IParameterDefinition
parDef = parameters[i];
629
builder = ArrayBuilder<
IParameterDefinition
>.GetInstance(parameters.Length);
1201
public static ParameterAttributes GetParameterAttributes(
IParameterDefinition
parDef)
2313
foreach (
IParameterDefinition
parDef in this.GetParameterDefs())
2399
foreach (
IParameterDefinition
parDef in this.GetParameterDefs())
2743
foreach (
IParameterDefinition
parDef in parameterDefs)
PEWriter\RootModuleStaticConstructor.cs (2)
67
public ImmutableArray<
IParameterDefinition
> Parameters => ImmutableArray<
IParameterDefinition
>.Empty;