3 interfaces inheriting from IMethodReference
Microsoft.CodeAnalysis (3)
PEWriter\Members.cs (3)
512
internal interface IMethodDefinition : ITypeDefinitionMember,
IMethodReference
895
internal interface ISpecializedMethodReference :
IMethodReference
956
internal interface IGenericMethodInstanceReference :
IMethodReference
1 implementation of IMethodReference
Microsoft.CodeAnalysis (1)
CodeGen\ArrayMembers.cs (1)
287
internal abstract class ArrayMethod : Cci.
IMethodReference
80 references to IMethodReference
Microsoft.CodeAnalysis (80)
CodeGen\ILBuilderEmit.cs (1)
100
var
initializeArray = module.GetInitArrayHelper();
CodeGen\ITokenDeferral.cs (1)
24
Cci.
IMethodReference
GetInitArrayHelper();
CodeGen\PermissionSetAttribute.cs (1)
57
public Cci.
IMethodReference
Constructor(EmitContext context, bool reportDiagnostics)
CodeGen\ReferenceDependencyWalker.cs (3)
30
var
methodReference = reference as Cci.
IMethodReference
;
101
private static void VisitMethodReference(Cci.
IMethodReference
methodReference, EmitContext context)
Emit\CommonPEModuleBuilder.cs (6)
34
internal Cci.
IMethodReference
? PEEntryPoint;
35
internal Cci.
IMethodReference
? DebugEntryPoint;
123
internal abstract Cci.
IMethodReference
Translate(IMethodSymbolInternal symbol, DiagnosticBag diagnostics, bool needDeclaration);
723
internal abstract Cci.
IMethodReference
Translate(TMethodSymbol symbol, DiagnosticBag diagnostics, bool needDeclaration);
735
internal sealed override Cci.
IMethodReference
Translate(IMethodSymbolInternal symbol, DiagnosticBag diagnostics, bool needDeclaration)
1047
public abstract Cci.
IMethodReference
GetInitArrayHelper();
Emit\EditAndContinue\DeletedSourceGenericParameter.cs (1)
63
IMethodReference
IGenericMethodParameterReference.DefiningMethod => ((IGenericMethodParameterReference)OldDefinition).DefiningMethod;
Emit\NoPia\CommonEmbeddedEvent.cs (4)
94
Cci.
IMethodReference
Cci.IEventDefinition.Adder
99
Cci.
IMethodReference
Cci.IEventDefinition.Remover
104
Cci.
IMethodReference
Cci.IEventDefinition.Caller
109
IEnumerable<Cci.
IMethodReference
> Cci.IEventDefinition.GetAccessors(EmitContext context)
Emit\NoPia\CommonEmbeddedMethod.cs (6)
261
bool Cci.
IMethodReference
.AcceptsExtraArguments => AcceptsExtraArguments;
263
ushort Cci.
IMethodReference
.GenericParameterCount => (ushort)_typeParameters.Length;
265
Cci.IMethodDefinition Cci.
IMethodReference
.GetResolvedMethod(EmitContext context)
270
ImmutableArray<Cci.IParameterTypeInformation> Cci.
IMethodReference
.ExtraParameters
279
Cci.IGenericMethodInstanceReference Cci.
IMethodReference
.AsGenericMethodInstanceReference => null;
281
Cci.ISpecializedMethodReference Cci.
IMethodReference
.AsSpecializedMethodReference => null;
Emit\NoPia\CommonEmbeddedProperty.cs (3)
78
Cci.
IMethodReference
Cci.IPropertyDefinition.Getter
83
Cci.
IMethodReference
Cci.IPropertyDefinition.Setter
88
IEnumerable<Cci.
IMethodReference
> Cci.IPropertyDefinition.GetAccessors(EmitContext context)
Emit\NoPia\CommonEmbeddedTypeParameter.cs (1)
234
Cci.
IMethodReference
Cci.IGenericMethodParameterReference.DefiningMethod
Emit\NoPia\EmbeddedTypesManager.cs (2)
55
where TMethodSymbol : class, TSymbol, Cci.
IMethodReference
224
internal Cci.
IMethodReference
EmbedMethodIfNeedTo(TMethodSymbol methodSymbol, TSyntaxNode syntaxNodeOpt, DiagnosticBag diagnostics)
Emit\NoPia\VtblGap.cs (6)
194
bool Cci.
IMethodReference
.AcceptsExtraArguments
199
ushort Cci.
IMethodReference
.GenericParameterCount
204
Cci.IMethodDefinition Cci.
IMethodReference
.GetResolvedMethod(EmitContext context)
209
ImmutableArray<Cci.IParameterTypeInformation> Cci.
IMethodReference
.ExtraParameters
214
Cci.IGenericMethodInstanceReference Cci.
IMethodReference
.AsGenericMethodInstanceReference
219
Cci.ISpecializedMethodReference Cci.
IMethodReference
.AsSpecializedMethodReference
IReferenceOrISignature.cs (1)
28
public IReferenceOrISignature(
IMethodReference
item) => _item = item;
PEWriter\ICustomAttribute.cs (1)
24
IMethodReference
Constructor(EmitContext context, bool reportDiagnostics);
PEWriter\MemberRefComparer.cs (6)
48
var
xm = x as
IMethodReference
;
49
var
ym = y as
IMethodReference
;
69
var
methodRef = memberRef as
IMethodReference
;
PEWriter\Members.cs (9)
135
IEnumerable<
IMethodReference
> GetAccessors(EmitContext context);
140
IMethodReference
Adder { get; }
145
IMethodReference
? Caller { get; }
160
IMethodReference
Remover { get; }
742
IEnumerable<
IMethodReference
> GetAccessors(EmitContext context);
756
IMethodReference
? Getter { get; }
781
IMethodReference
? Setter { get; }
903
IMethodReference
UnspecializedVersion { get; }
967
IMethodReference
GetGenericMethod(EmitContext context);
PEWriter\MetadataVisitor.cs (4)
54
IMethodReference
constructor = customAttribute.Constructor(Context, reportDiagnostics: false);
334
public void Visit(IEnumerable<
IMethodReference
> methodReferences)
336
foreach (
IMethodReference
methodReference in methodReferences)
342
public virtual void Visit(
IMethodReference
methodReference)
PEWriter\MetadataWriter.cs (15)
724
private EntityHandle GetCustomAttributeTypeCodedIndex(
IMethodReference
methodReference)
940
if (memberRef is
IMethodReference
methodRef)
964
internal EntityHandle GetMethodDefinitionOrReferenceHandle(
IMethodReference
methodReference)
1093
IMethodReference
methodReference => this.GetMethodSignatureHandle(methodReference),
1098
internal BlobHandle GetMethodSignatureHandle(
IMethodReference
methodReference)
1108
internal byte[] GetMethodSignature(
IMethodReference
methodReference)
1115
private BlobHandle GetMethodSignatureHandleAndBlob(
IMethodReference
methodReference, out ImmutableArray<byte> signatureBlob)
1163
internal EntityHandle GetMethodHandle(
IMethodReference
methodReference)
1191
Debug.Assert(!(signature is
IMethodReference
));
1875
IMethodReference
entryPoint = module.PEEntryPoint;
1879
IMethodReference
debugEntryPoint = module.DebugEntryPoint;
2136
IMethodReference
constructor = customAttribute.Constructor(Context, reportDiagnostics: true);
2644
foreach (
IMethodReference
accessorMethod in propertyDef.GetAccessors(Context))
2670
foreach (
IMethodReference
accessorMethod in eventDef.GetAccessors(Context))
3112
IMethodReference
methodReference => GetMethodHandle(methodReference),
PEWriter\ReferenceIndexer.cs (3)
90
var
methodReference = reference as
IMethodReference
;
168
protected override void ReserveMethodToken(
IMethodReference
methodReference)
PEWriter\ReferenceIndexerBase.cs (2)
137
public override void Visit(
IMethodReference
methodReference)
182
protected abstract void ReserveMethodToken(
IMethodReference
methodReference);
PEWriter\TypeReferenceIndexer.cs (1)
62
protected override void ReserveMethodToken(
IMethodReference
methodReference)
PEWriter\Types.cs (3)
203
IMethodReference
DefiningMethod { get; }
357
public readonly Cci.
IMethodReference
ImplementedMethod;
359
public MethodImplementation(Cci.IMethodDefinition ImplementingMethod, Cci.
IMethodReference
ImplementedMethod)