15 references to MethodInfo
Microsoft.Interop.ComInterfaceGenerator (15)
ComInterfaceGenerator.cs (15)
469
if (method.
MethodInfo
.IsUserDefinedShadowingMethod)
498
if (a.
MethodInfo
.MethodName != b.
MethodInfo
.MethodName)
526
writer.WriteLine($"public unsafe {functionPointerType.NormalizeWhitespace()} {inheritedMethod.
MethodInfo
.MethodName}_{inheritedMethod.GenerationContext.VtableIndexData.Index};");
538
writer.WriteLine($"public unsafe {functionPointerType.NormalizeWhitespace()} {declaredMethod.
MethodInfo
.MethodName}_{declaredMethod.GenerationContext.VtableIndexData.Index};");
624
writer.WriteLine($"Vtable.{declaredMethodContext.
MethodInfo
.MethodName}_{declaredMethodContext.GenerationContext.VtableIndexData.Index} = &ABI_{((SourceAvailableIncrementalMethodStubGenerationContext)declaredMethodContext.GenerationContext).StubMethodSyntaxTemplate.Identifier};");
703
writer.Write($"{inheritedStub.GenerationContext.SignatureContext.StubReturnType} {inheritedStub.OriginalDeclaringInterface.Info.Type.FullTypeName}.{inheritedStub.
MethodInfo
.MethodName}");
862
string accessorName = inheritedStub.
MethodInfo
.MethodName;
923
bool isUnsafe = shadow.
MethodInfo
.Syntax is { } shadowedSyntax
930
string accessorName = shadow.
MethodInfo
.MethodName;
947
SequenceEqualImmutableArray<AttributeInfo> propAttrs = shadow.
MethodInfo
.AssociatedAttributes;
1002
Debug.Assert(shadow.
MethodInfo
.AssociatedAttributes.Array.IsEmpty);
1009
foreach (AttributeInfo attrInfo in shadow.
MethodInfo
.Attributes)
1014
writer.Write($"new {(isUnsafe ? "unsafe " : "")}{sigContext.StubReturnType} {shadow.
MethodInfo
.MethodName}");
1016
string forwardingCall = $"(({shadow.OriginalDeclaringInterface.Info.Type.FullTypeName})this).{shadow.
MethodInfo
.MethodName}"