Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions msbuild/Xamarin.MacDev.Tasks/DotNetGlobals.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

global using System;
global using System.Collections.Generic;
global using System.Runtime.InteropServices;
2 changes: 0 additions & 2 deletions src/ARKit/ARFaceGeometry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
// Copyright 2017 Microsoft Inc. All rights reserved.
//

using System;
using System.Numerics;
using System.Runtime.InteropServices;

using Vector3 = global::CoreGraphics.NVector3;

Expand Down
2 changes: 0 additions & 2 deletions src/ARKit/ARPlaneGeometry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
// Copyright 2018 Microsoft Inc. All rights reserved.
//

using System;
using System.Numerics;
using System.Runtime.InteropServices;

using Vector3 = global::CoreGraphics.NVector3;

Expand Down
3 changes: 0 additions & 3 deletions src/ARKit/ARPointCloud.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
// Copyright 2017 Microsoft Inc. All rights reserved.
//

using System;
using System.Runtime.InteropServices;

using Vector3 = global::CoreGraphics.NVector3;

#nullable enable
Expand Down
5 changes: 0 additions & 5 deletions src/ARKit/ARSkeleton.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.ComponentModel;
using System.Runtime.InteropServices;

using Foundation;
using ObjCRuntime;

#nullable enable

Expand Down
2 changes: 0 additions & 2 deletions src/ARKit/ARSkeleton2D.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
// Copyright 2019 Microsoft Inc. All rights reserved.
//

using System;
using System.Numerics;
using System.Runtime.InteropServices;

#nullable enable

Expand Down
2 changes: 0 additions & 2 deletions src/ARKit/ARSkeleton3D.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
// Copyright 2019 Microsoft Inc. All rights reserved.
//

using System;
using System.Runtime.InteropServices;
using Matrix4 = global::CoreGraphics.NMatrix4;

#nullable enable
Expand Down
5 changes: 0 additions & 5 deletions src/AVFoundation/AVAssetDownloadStorageManagementPolicy.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
#if IOS

using System;

using Foundation;
using ObjCRuntime;

#nullable enable

namespace AVFoundation {
Expand Down
3 changes: 0 additions & 3 deletions src/AVFoundation/AVAssetDownloadTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
// Copyright 2015 Xamarin Inc.
//

using System;
using Foundation;

#nullable enable

namespace AVFoundation {
Expand Down
3 changes: 0 additions & 3 deletions src/AVFoundation/AVAssetDownloadUrlSession.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
// Copyright 2015 Xamarin Inc.
//
#if !TVOS
using System;
using Foundation;
using ObjCRuntime;

#nullable enable

Expand Down
3 changes: 0 additions & 3 deletions src/AVFoundation/AVAssetResourceLoadingDataRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
// Copyright 2012, 2014 Xamarin Inc
//

using System;
using Foundation;

#nullable enable

namespace AVFoundation {
Expand Down
4 changes: 0 additions & 4 deletions src/AVFoundation/AVAssetTrack.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
using System;
using System.Runtime.Versioning;
using Foundation;
using CoreMedia;


namespace AVFoundation {
public partial class AVAssetTrack {

Expand Down
2 changes: 0 additions & 2 deletions src/AVFoundation/AVAudioBuffer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
// Miguel de Icaza
//

using Foundation;
using System;
using AudioToolbox;

#nullable enable
Expand Down
4 changes: 0 additions & 4 deletions src/AVFoundation/AVAudioChannelLayout.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,9 @@
#pragma warning disable 0661
// In both of these cases, the NSObject Equals/GetHashCode implementation works fine, so we can ignore these warnings.

using Foundation;
using ObjCRuntime;
using AudioToolbox;
using System;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

#nullable enable

Expand Down
4 changes: 0 additions & 4 deletions src/AVFoundation/AVAudioConverterPrimeInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
//
using System;
using System.Runtime.InteropServices;
using Foundation;
using ObjCRuntime;

#nullable enable

Expand Down
3 changes: 0 additions & 3 deletions src/AVFoundation/AVAudioFormat.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
// In both of these cases, the NSObject Equals/GetHashCode implementation works fine, so we can ignore these warnings.

using AudioToolbox;
using Foundation;
using ObjCRuntime;
using System;
using System.ComponentModel;
using System.Runtime.CompilerServices;

Expand Down
4 changes: 0 additions & 4 deletions src/AVFoundation/AVAudioPlayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
using Foundation;
using ObjCRuntime;
using System;
using System.Runtime.InteropServices;

#nullable enable

Expand Down
3 changes: 0 additions & 3 deletions src/AVFoundation/AVAudioRecorder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,8 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//

using Foundation;
using CoreFoundation;
using AudioToolbox;
using ObjCRuntime;
using System;

#nullable enable

Expand Down
3 changes: 0 additions & 3 deletions src/AVFoundation/AVAudioSessionDataSourceDescription.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
// Authors:
// Miguel de Icaza ([email protected])
//
using Foundation;
using ObjCRuntime;
using System;

#nullable enable

Expand Down
4 changes: 0 additions & 4 deletions src/AVFoundation/AVAudioSessionPortDescription.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@
// Copyright 2015 Xamarin Inc.
//

using System;

using Foundation;
using CoreFoundation;
using ObjCRuntime;
using AudioToolbox;

#nullable enable
Expand Down
3 changes: 0 additions & 3 deletions src/AVFoundation/AVAudioSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,8 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//

using System;

using Foundation;
using CoreFoundation;
using ObjCRuntime;
using AudioToolbox;

#nullable enable
Expand Down
1 change: 0 additions & 1 deletion src/AVFoundation/AVAudioSinkNode.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using System.ComponentModel;

using AudioToolbox;
Expand Down
2 changes: 0 additions & 2 deletions src/AVFoundation/AVAudioSourceNode.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
using System;
using System.ComponentModel;
using System.Runtime.CompilerServices;

using AudioToolbox;
using ObjCRuntime;

namespace AVFoundation {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System;
using System.Runtime.InteropServices;
using ObjCRuntime;

#if !TVOS

Expand Down
4 changes: 0 additions & 4 deletions src/AVFoundation/AVBeatRange.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
//
using System;
using System.Runtime.InteropServices;
using Foundation;
using ObjCRuntime;

#nullable enable

Expand Down
4 changes: 0 additions & 4 deletions src/AVFoundation/AVCaptureDeviceInput.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@

#if !TVOS

using System;
using Foundation;
using ObjCRuntime;

#nullable enable

namespace AVFoundation {
Expand Down
4 changes: 0 additions & 4 deletions src/AVFoundation/AVCaptureFileOutput.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@

#if !TVOS

using System;
using Foundation;
using ObjCRuntime;

#nullable enable

namespace AVFoundation {
Expand Down
3 changes: 0 additions & 3 deletions src/AVFoundation/AVCaptureMetadataOutput.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@
//

#if IOS
using Foundation;
using ObjCRuntime;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.CompilerServices;
Expand Down
4 changes: 0 additions & 4 deletions src/AVFoundation/AVCaptureReactionType.rgen.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
#pragma warning disable APL0003
using System;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;

using CoreFoundation;
using ObjCRuntime;
using ObjCBindings;

#nullable enable
Expand Down
2 changes: 0 additions & 2 deletions src/AVFoundation/AVCaptureSynchronizedDataCollection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@
//

#if IOS || MONOMAC
using System;
using System.Collections;
using System.Collections.Generic;
using Foundation;

#nullable enable

Expand Down
4 changes: 0 additions & 4 deletions src/AVFoundation/AVCaptureVideoPreviewLayer.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
#if !TVOS

using System;

using Foundation;
using CoreFoundation;
using ObjCRuntime;
using AudioToolbox;

#nullable enable
Expand Down
3 changes: 0 additions & 3 deletions src/AVFoundation/AVContentKeyResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
// Authors:
// Manuel de la Pena [email protected]
//
using Foundation;
using ObjCRuntime;
using System;
using System.ComponentModel;
using System.Runtime.CompilerServices;

Expand Down
3 changes: 0 additions & 3 deletions src/AVFoundation/AVDepthData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
// Copyright 2017 Xamarin Inc.
//

using System;
using Foundation;
using ObjCRuntime;
using CoreVideo;
using ImageIO;

Expand Down
5 changes: 0 additions & 5 deletions src/AVFoundation/AVEdgeWidths.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
//
using System;
using System.Runtime.InteropServices;
using Foundation;
using ObjCRuntime;
using System.Runtime.Versioning;

#nullable enable

Expand Down
4 changes: 0 additions & 4 deletions src/AVFoundation/AVLayerVideoGravity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,7 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//

using System;

using Foundation;
using CoreFoundation;
using ObjCRuntime;

#nullable enable

Expand Down
3 changes: 0 additions & 3 deletions src/AVFoundation/AVMetadataMachineReadableCodeObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@

#if IOS
using CoreGraphics;
using Foundation;
using ObjCRuntime;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.CompilerServices;
Expand Down
3 changes: 0 additions & 3 deletions src/AVFoundation/AVOutputSettingsAssistant.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
//
#if IOS
using System;
using System.Drawing;
using System.Threading.Tasks;
using CoreMedia;
using CoreMotion;
using Foundation;
using ObjCRuntime;
using CoreAnimation;
using CoreLocation;

Expand Down
5 changes: 0 additions & 5 deletions src/AVFoundation/AVPixelAspectRatio.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
//
using System;
using System.Runtime.InteropServices;
using Foundation;
using ObjCRuntime;
using System.Runtime.Versioning;

#nullable enable

Expand Down
Loading
Loading