1 write to Options
Microsoft.Interop.ComInterfaceGenerator (1)
ComInterfaceInfo.cs (1)
60Options = options;
6 references to Options
Microsoft.Interop.ComInterfaceGenerator (6)
ComInterfaceContext.cs (2)
55var baselessCtx = DiagnosticOr<ComInterfaceContext>.From(new ComInterfaceContext(iface, null, iface.Options) { IsExternallyDefined = iface.IsExternallyDefined }); 79var ctx = DiagnosticOr<ComInterfaceContext>.From(new ComInterfaceContext(iface, baseContext.Value, iface.Options) { IsExternallyDefined = iface.IsExternallyDefined });
ComInterfaceGenerator.cs (1)
562writer.WriteLine($"return {(interfaceInfo.Options.HasFlag(ComInterfaceOptions.ManagedObjectWrapper) ? "(void**)global::System.Runtime.CompilerServices.Unsafe.AsPointer(in InterfaceImplementation.Vtable)" : "null")};");
ComInterfaceInfo.cs (3)
413int hash = HashCode.Combine(Type, ThisInterfaceKey, BaseInterfaceKey, TypeDefinitionContext, InterfaceId, Options, UseUpdatedMemorySafetyRules, IsExternallyDefined); 425&& Options == other.Options