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