14 references to MethodInfo
Microsoft.Interop.ComInterfaceGenerator (14)
ComInterfaceGenerator.cs (14)
469
if (method.
MethodInfo
.IsUserDefinedShadowingMethod)
498
if (a.
MethodInfo
.MethodName != b.
MethodInfo
.MethodName)
526
writer.WriteLine($"public unsafe {functionPointerType} {inheritedMethod.
MethodInfo
.MethodName}_{inheritedMethod.GenerationContext.VtableIndexData.Index};");
538
writer.WriteLine($"public unsafe {functionPointerType} {declaredMethod.
MethodInfo
.MethodName}_{declaredMethod.GenerationContext.VtableIndexData.Index};");
624
writer.WriteLine($"Vtable.{declaredMethodContext.
MethodInfo
.MethodName}_{declaredMethodContext.GenerationContext.VtableIndexData.Index} = &{((SourceAvailableIncrementalMethodStubGenerationContext)declaredMethodContext.GenerationContext).AbiMethodIdentifier};");
720
? IncrementalMethodStubGenerationContext.GetPropertyNameFromAccessor(inheritedStub.
MethodInfo
.MethodName)
721
: inheritedStub.
MethodInfo
.MethodName;
775
bool isUnsafe = shadow.
MethodInfo
.Syntax is { } shadowedSyntax
782
string accessorName = shadow.
MethodInfo
.MethodName;
798
SequenceEqualImmutableArray<AttributeInfo> propAttrs = shadow.
MethodInfo
.AssociatedAttributes;
853
Debug.Assert(shadow.
MethodInfo
.AssociatedAttributes.Array.IsEmpty);
860
foreach (AttributeInfo attrInfo in shadow.
MethodInfo
.Attributes)
865
string methodName = CodeWriterHelpers.EscapeIdentifier(shadow.
MethodInfo
.MethodName);