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