17 references to GetParameter
Microsoft.CodeAnalysis (5)
MetadataReader\PEModule.cs (5)
3473
Parameter parameter = MetadataReader.
GetParameter
(parameterDef);
3481
Parameter parameter = MetadataReader.
GetParameter
(parameterDef);
3488
return MetadataReader.
GetParameter
(param).SequenceNumber;
3581
var constantHandle = MetadataReader.
GetParameter
(param).GetDefaultValue();
3632
MetadataReader.
GetParameter
((ParameterHandle)fieldOrParameterToken).GetMarshallingDescriptor();
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (6)
Attributes\AttributeTests_Nullable.cs (1)
4875
var parameters = method.GetParameters().Select(p => reader.
GetParameter
(p)).ToArray();
Attributes\AttributeTests_WellKnownAttributes.cs (5)
1100
var paramRow = metadataReader.
GetParameter
((ParameterHandle)constant.Parent);
1153
var paramRow = metadataReader.
GetParameter
(paramDef);
1189
var paramRow = metadataReader.
GetParameter
((ParameterHandle)constant.Parent);
2431
Assert.Equal(ParameterAttributes.In | ParameterAttributes.Out, metadataReader.
GetParameter
(ps[0]).Attributes);
2432
Assert.Equal(ParameterAttributes.In | ParameterAttributes.Out, metadataReader.
GetParameter
(ps[1]).Attributes);
Microsoft.CodeAnalysis.Test.Utilities (3)
Metadata\MetadataReaderUtils.cs (1)
158
return reader.GetParameters().Select(handle => reader.
GetParameter
(handle).Name).ToArray();
Metadata\MetadataValidation.cs (2)
112
var paramRow = metadataReader.
GetParameter
(paramHandle);
121
BlobHandle descriptor = metadataReader.
GetParameter
(paramHandle).GetMarshallingDescriptor();
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (2)
Semantics\FieldInitializerBindingTests.vb (2)
1312
Dim paramRow = reader.
GetParameter
(CType(constant.Parent, ParameterHandle))
1339
Dim name = reader.GetString(reader.
GetParameter
(paramDef).Name)
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\General\Ecma\MetadataExtensions.cs (1)
48
public static Parameter GetParameter(this ParameterHandle handle, MetadataReader reader) => reader.
GetParameter
(handle);