Skip to content

Instantly share code, notes, and snippets.

@vs-mobiletools-engineering-service2
Created November 25, 2024 23:21
Show Gist options
  • Save vs-mobiletools-engineering-service2/6532043d39794c7fbaba62fdad342be9 to your computer and use it in GitHub Desktop.
Save vs-mobiletools-engineering-service2/6532043d39794c7fbaba62fdad342be9 to your computer and use it in GitHub Desktop.
previous-api-comparison/diff/Microsoft.macOS.md

API diff: Microsoft.macOS.dll

Microsoft.macOS.dll

Namespace ObjCBindings

New Type: ObjCBindings.Constructor

[Serializable]
[Flags]
public enum Constructor {
	Default = 0,
	DesignatedInitializer = 4,
}

New Type: ObjCBindings.ExportAttribute`1

public class ExportAttribute`1 : System.Attribute {
	// constructors
	protected ExportAttribute`1 ();
	public ExportAttribute`1 (string selector);
	public ExportAttribute`1 (string selector, ObjCRuntime.ArgumentSemantic semantic);
	public ExportAttribute`1 (string selector, T flags);
	public ExportAttribute`1 (string selector, ObjCRuntime.ArgumentSemantic semantic, T flags);
	// properties
	public ObjCRuntime.ArgumentSemantic ArgumentSemantic { get; set; }
	public T Flags { get; set; }
	public string Selector { get; set; }
}

New Type: ObjCBindings.Method

[Serializable]
[Flags]
public enum Method {
	Default = 0,
	IgnoredInDelegate = 8,
	IsVariadic = 4,
	MarshalNativeExceptions = 16,
}

New Type: ObjCBindings.Property

[Serializable]
[Flags]
public enum Property {
	Default = 0,
	IsThreadStaticAttribute = 4,
	Notification = 8,
}

Namespace ObjCRuntime

Type Changed: ObjCRuntime.Constants

Modified fields:

-public const string Version = "15.1.9170";
+public const string Version = "15.1.9171";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment