From 8a88785cf91814e9ff8101e55a3fbed48754a3d1 Mon Sep 17 00:00:00 2001 From: Daniel Cazzulino Date: Wed, 22 Sep 2021 05:33:40 -0300 Subject: [PATCH] Add as first line to avoid analysis Adding `` to source files in addition to the already provided attributes, further ensures we never get analyzed for coverage, style, or anything Fixes #2 --- src/RxFree/build/Legacy/CompositeDisposable.cs | 3 ++- src/RxFree/build/Legacy/Disposable.cs | 3 ++- src/RxFree/build/Legacy/ObservableExtensions.cs | 3 ++- src/RxFree/build/Legacy/StableCompositeDisposable.cs | 3 ++- src/RxFree/build/Legacy/Subject.cs | 1 + src/RxFree/build/NotNull/CompositeDisposable.cs | 3 ++- src/RxFree/build/NotNull/Disposable.cs | 3 ++- src/RxFree/build/NotNull/ObservableExtensions.cs | 3 ++- src/RxFree/build/NotNull/StableCompositeDisposable.cs | 3 ++- src/RxFree/build/NotNull/Subject.cs | 1 + src/RxFree/build/Nullable/CompositeDisposable.cs | 3 ++- src/RxFree/build/Nullable/Disposable.cs | 3 ++- src/RxFree/build/Nullable/ObservableExtensions.cs | 3 ++- src/RxFree/build/Nullable/StableCompositeDisposable.cs | 3 ++- src/RxFree/build/Nullable/Subject.cs | 1 + 15 files changed, 27 insertions(+), 12 deletions(-) diff --git a/src/RxFree/build/Legacy/CompositeDisposable.cs b/src/RxFree/build/Legacy/CompositeDisposable.cs index a6dba6b..6bba72a 100644 --- a/src/RxFree/build/Legacy/CompositeDisposable.cs +++ b/src/RxFree/build/Legacy/CompositeDisposable.cs @@ -1,4 +1,5 @@ -using System.CodeDom.Compiler; +// +using System.CodeDom.Compiler; using System.Collections.Concurrent; using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; diff --git a/src/RxFree/build/Legacy/Disposable.cs b/src/RxFree/build/Legacy/Disposable.cs index 313f7bc..a05001c 100644 --- a/src/RxFree/build/Legacy/Disposable.cs +++ b/src/RxFree/build/Legacy/Disposable.cs @@ -1,4 +1,5 @@ -using System.Diagnostics.CodeAnalysis; +// +using System.Diagnostics.CodeAnalysis; using System.Threading; namespace System diff --git a/src/RxFree/build/Legacy/ObservableExtensions.cs b/src/RxFree/build/Legacy/ObservableExtensions.cs index 7233c45..3aba91e 100644 --- a/src/RxFree/build/Legacy/ObservableExtensions.cs +++ b/src/RxFree/build/Legacy/ObservableExtensions.cs @@ -1,4 +1,5 @@ -using System.CodeDom.Compiler; +// +using System.CodeDom.Compiler; using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; using System.Runtime.ExceptionServices; diff --git a/src/RxFree/build/Legacy/StableCompositeDisposable.cs b/src/RxFree/build/Legacy/StableCompositeDisposable.cs index ac54127..21c2f99 100644 --- a/src/RxFree/build/Legacy/StableCompositeDisposable.cs +++ b/src/RxFree/build/Legacy/StableCompositeDisposable.cs @@ -1,4 +1,5 @@ -using System.ComponentModel; +// +using System.ComponentModel; using System.Diagnostics.CodeAnalysis; namespace System diff --git a/src/RxFree/build/Legacy/Subject.cs b/src/RxFree/build/Legacy/Subject.cs index 42c820a..3f1058b 100644 --- a/src/RxFree/build/Legacy/Subject.cs +++ b/src/RxFree/build/Legacy/Subject.cs @@ -1,3 +1,4 @@ +// // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT License. diff --git a/src/RxFree/build/NotNull/CompositeDisposable.cs b/src/RxFree/build/NotNull/CompositeDisposable.cs index f99d2f1..7bd13d9 100644 --- a/src/RxFree/build/NotNull/CompositeDisposable.cs +++ b/src/RxFree/build/NotNull/CompositeDisposable.cs @@ -1,4 +1,5 @@ -using System.CodeDom.Compiler; +// +using System.CodeDom.Compiler; using System.Collections.Concurrent; using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; diff --git a/src/RxFree/build/NotNull/Disposable.cs b/src/RxFree/build/NotNull/Disposable.cs index 4cae65d..8f6936c 100644 --- a/src/RxFree/build/NotNull/Disposable.cs +++ b/src/RxFree/build/NotNull/Disposable.cs @@ -1,4 +1,5 @@ -using System.Diagnostics.CodeAnalysis; +// +using System.Diagnostics.CodeAnalysis; using System.Threading; namespace System diff --git a/src/RxFree/build/NotNull/ObservableExtensions.cs b/src/RxFree/build/NotNull/ObservableExtensions.cs index 7233c45..3aba91e 100644 --- a/src/RxFree/build/NotNull/ObservableExtensions.cs +++ b/src/RxFree/build/NotNull/ObservableExtensions.cs @@ -1,4 +1,5 @@ -using System.CodeDom.Compiler; +// +using System.CodeDom.Compiler; using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; using System.Runtime.ExceptionServices; diff --git a/src/RxFree/build/NotNull/StableCompositeDisposable.cs b/src/RxFree/build/NotNull/StableCompositeDisposable.cs index ac54127..21c2f99 100644 --- a/src/RxFree/build/NotNull/StableCompositeDisposable.cs +++ b/src/RxFree/build/NotNull/StableCompositeDisposable.cs @@ -1,4 +1,5 @@ -using System.ComponentModel; +// +using System.ComponentModel; using System.Diagnostics.CodeAnalysis; namespace System diff --git a/src/RxFree/build/NotNull/Subject.cs b/src/RxFree/build/NotNull/Subject.cs index 74ebcb9..3867e6c 100644 --- a/src/RxFree/build/NotNull/Subject.cs +++ b/src/RxFree/build/NotNull/Subject.cs @@ -1,3 +1,4 @@ +// // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT License. diff --git a/src/RxFree/build/Nullable/CompositeDisposable.cs b/src/RxFree/build/Nullable/CompositeDisposable.cs index f99d2f1..7bd13d9 100644 --- a/src/RxFree/build/Nullable/CompositeDisposable.cs +++ b/src/RxFree/build/Nullable/CompositeDisposable.cs @@ -1,4 +1,5 @@ -using System.CodeDom.Compiler; +// +using System.CodeDom.Compiler; using System.Collections.Concurrent; using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; diff --git a/src/RxFree/build/Nullable/Disposable.cs b/src/RxFree/build/Nullable/Disposable.cs index 4cae65d..8f6936c 100644 --- a/src/RxFree/build/Nullable/Disposable.cs +++ b/src/RxFree/build/Nullable/Disposable.cs @@ -1,4 +1,5 @@ -using System.Diagnostics.CodeAnalysis; +// +using System.Diagnostics.CodeAnalysis; using System.Threading; namespace System diff --git a/src/RxFree/build/Nullable/ObservableExtensions.cs b/src/RxFree/build/Nullable/ObservableExtensions.cs index 7233c45..3aba91e 100644 --- a/src/RxFree/build/Nullable/ObservableExtensions.cs +++ b/src/RxFree/build/Nullable/ObservableExtensions.cs @@ -1,4 +1,5 @@ -using System.CodeDom.Compiler; +// +using System.CodeDom.Compiler; using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; using System.Runtime.ExceptionServices; diff --git a/src/RxFree/build/Nullable/StableCompositeDisposable.cs b/src/RxFree/build/Nullable/StableCompositeDisposable.cs index ac54127..21c2f99 100644 --- a/src/RxFree/build/Nullable/StableCompositeDisposable.cs +++ b/src/RxFree/build/Nullable/StableCompositeDisposable.cs @@ -1,4 +1,5 @@ -using System.ComponentModel; +// +using System.ComponentModel; using System.Diagnostics.CodeAnalysis; namespace System diff --git a/src/RxFree/build/Nullable/Subject.cs b/src/RxFree/build/Nullable/Subject.cs index 30492ef..5727999 100644 --- a/src/RxFree/build/Nullable/Subject.cs +++ b/src/RxFree/build/Nullable/Subject.cs @@ -1,3 +1,4 @@ +// // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT License.