14 references to MethodInfo
Microsoft.Interop.ComInterfaceGenerator (14)
ComInterfaceGenerator.cs (14)
497if (method.MethodInfo.IsUserDefinedShadowingMethod) 526if (a.MethodInfo.MethodName != b.MethodInfo.MethodName) 551writer.WriteLine($"public {functionPointerType.NormalizeWhitespace()} {inheritedMethod.MethodInfo.MethodName}_{inheritedMethod.GenerationContext.VtableIndexData.Index};"); 563writer.WriteLine($"public {functionPointerType.NormalizeWhitespace()} {declaredMethod.MethodInfo.MethodName}_{declaredMethod.GenerationContext.VtableIndexData.Index};"); 622writer.WriteLine($"Vtable.{declaredMethodContext.MethodInfo.MethodName}_{declaredMethodContext.GenerationContext.VtableIndexData.Index} = &ABI_{((SourceAvailableIncrementalMethodStubGenerationContext)declaredMethodContext.GenerationContext).StubMethodSyntaxTemplate.Identifier};"); 698writer.Write($"{inheritedStub.GenerationContext.SignatureContext.StubReturnType} {inheritedStub.OriginalDeclaringInterface.Info.Type.FullTypeName}.{inheritedStub.MethodInfo.MethodName}"); 857string accessorName = inheritedStub.MethodInfo.MethodName; 915string accessorName = shadow.MethodInfo.MethodName; 932SequenceEqualImmutableArray<AttributeInfo> propAttrs = shadow.MethodInfo.AssociatedAttributes; 987Debug.Assert(shadow.MethodInfo.AssociatedAttributes.Array.IsEmpty); 994foreach (AttributeInfo attrInfo in shadow.MethodInfo.Attributes) 999writer.Write($"new {sigContext.StubReturnType} {shadow.MethodInfo.MethodName}"); 1001writer.Write($" => (({shadow.OriginalDeclaringInterface.Info.Type.FullTypeName})this).{shadow.MethodInfo.MethodName}");