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