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