1 write to UseUpdatedMemorySafetyRules
Microsoft.Interop.ComInterfaceGenerator (1)
ComInterfaceInfo.cs (1)
119UseUpdatedMemorySafetyRules = env.EnvironmentFlags.HasFlag(EnvironmentFlags.UpdatedMemorySafetyRules)
3 references to UseUpdatedMemorySafetyRules
Microsoft.Interop.ComInterfaceGenerator (3)
ComInterfaceGenerator.cs (3)
580string unsafeModifier = data.Interface.Info.UseUpdatedMemorySafetyRules ? "" : "unsafe "; 893data.Interface.Info.TypeDefinitionContext.WriteToWithUnsafeModifier(data.Interface.Info.UseUpdatedMemorySafetyRules, writer, (data.Interface.Info.ContainingSyntax, data.ShadowingMethods, data.Interface.Info.UseUpdatedMemorySafetyRules), static (writer, data) =>