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