10 references to MethodInfo
Microsoft.Interop.ComInterfaceGenerator (10)
ComInterfaceGenerator.cs (10)
432if (method.MethodInfo.IsUserDefinedShadowingMethod) 461if (a.MethodInfo.MethodName != b.MethodInfo.MethodName) 486writer.WriteLine($"public {functionPointerType.NormalizeWhitespace()} {inheritedMethod.MethodInfo.MethodName}_{inheritedMethod.GenerationContext.VtableIndexData.Index};"); 498writer.WriteLine($"public {functionPointerType.NormalizeWhitespace()} {declaredMethod.MethodInfo.MethodName}_{declaredMethod.GenerationContext.VtableIndexData.Index};"); 557writer.WriteLine($"Vtable.{declaredMethodContext.MethodInfo.MethodName}_{declaredMethodContext.GenerationContext.VtableIndexData.Index} = &ABI_{((SourceAvailableIncrementalMethodStubGenerationContext)declaredMethodContext.GenerationContext).StubMethodSyntaxTemplate.Identifier};"); 604writer.Write($"{inheritedStub.GenerationContext.SignatureContext.StubReturnType} {inheritedStub.OriginalDeclaringInterface.Info.Type.FullTypeName}.{inheritedStub.MethodInfo.MethodName}"); 634foreach (AttributeInfo attrInfo in shadow.MethodInfo.Attributes) 639writer.Write($"new {sigContext.StubReturnType} {shadow.MethodInfo.MethodName}"); 641writer.Write($" => (({shadow.OriginalDeclaringInterface.Info.Type.FullTypeName})this).{shadow.MethodInfo.MethodName}");