1 write to UseUpdatedMemorySafetyRules
Microsoft.Interop.ComInterfaceGenerator (1)
ComInterfaceInfo.cs (1)
121UseUpdatedMemorySafetyRules = env.EnvironmentFlags.HasFlag(EnvironmentFlags.UpdatedMemorySafetyRules)
6 references to UseUpdatedMemorySafetyRules
Microsoft.Interop.ComInterfaceGenerator (6)
ComInterfaceGenerator.cs (3)
580string unsafeModifier = data.Interface.Info.UseUpdatedMemorySafetyRules ? "" : "unsafe "; 745data.Interface.Info.TypeDefinitionContext.WriteToWithUnsafeModifier(data.Interface.Info.UseUpdatedMemorySafetyRules, writer, (data.Interface.Info.ContainingSyntax, data.ShadowingMethods, data.Interface.Info.UseUpdatedMemorySafetyRules), static (writer, data) =>
ComInterfaceInfo.cs (3)
413int hash = HashCode.Combine(Type, ThisInterfaceKey, BaseInterfaceKey, TypeDefinitionContext, InterfaceId, Options, UseUpdatedMemorySafetyRules, IsExternallyDefined); 426&& UseUpdatedMemorySafetyRules == other.UseUpdatedMemorySafetyRules