1 write to UnderlyingMethod
Microsoft.CodeAnalysis.CSharp (1)
Emitter\Model\MethodReference.cs (1)
23
this.
UnderlyingMethod
= underlyingMethod;
15 references to UnderlyingMethod
Microsoft.CodeAnalysis.CSharp (15)
Emitter\Model\GenericMethodInstanceReference.cs (2)
34
foreach (var arg in
UnderlyingMethod
.TypeArgumentsWithAnnotations)
45
UnderlyingMethod
.OriginalDefinition,
Emitter\Model\MethodReference.cs (11)
30
return
UnderlyingMethod
;
38
return
UnderlyingMethod
.IsVararg;
46
return (ushort)
UnderlyingMethod
.Arity;
54
return
UnderlyingMethod
.IsGenericMethod;
62
return (ushort)
UnderlyingMethod
.ParameterCount;
83
return
UnderlyingMethod
.CallingConvention;
90
return moduleBeingBuilt.Translate(
UnderlyingMethod
.Parameters);
97
return ImmutableArray<Cci.ICustomModifier>.CastUp(
UnderlyingMethod
.ReturnTypeWithAnnotations.CustomModifiers);
105
return ImmutableArray<Cci.ICustomModifier>.CastUp(
UnderlyingMethod
.RefCustomModifiers);
113
return
UnderlyingMethod
.RefKind.IsManagedReference();
119
return ((PEModuleBuilder)context.Module).Translate(
UnderlyingMethod
.ReturnType, syntaxNodeOpt: (CSharpSyntaxNode)context.SyntaxNode, diagnostics: context.Diagnostics);
Emitter\Model\SpecializedGenericMethodInstanceReference.cs (1)
35
foreach (var arg in
UnderlyingMethod
.TypeArgumentsWithAnnotations)
Emitter\Model\SpecializedMethodReference.cs (1)
35
return
UnderlyingMethod
.OriginalDefinition.GetCciAdapter();