From 97f601aac6e9f6d1b763d9c76f2b8cc980967b05 Mon Sep 17 00:00:00 2001 From: Jeremy Sinclair <4016293+snickler@users.noreply.github.com> Date: Wed, 20 Sep 2023 09:58:52 -0400 Subject: [PATCH] [Analyzers] Disable CS1615, CS9191 --- src/.editorconfig | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/.editorconfig b/src/.editorconfig index 6e5d31369f..4a038582a2 100644 --- a/src/.editorconfig +++ b/src/.editorconfig @@ -110,6 +110,9 @@ dotnet_diagnostic.SYSLIB1096.severity = silent # CA1309: Use ordinal StringComparison dotnet_diagnostic.CA1309.severity = suggestion +# CS1615: Argument may not be passed with the ref keyword +dotnet_diagnostic.CS1615.severity = none + # CA1860: Avoid using 'Enumerable.Any()' extension method dotnet_diagnostic.CA1860.severity = suggestion @@ -132,4 +135,7 @@ dotnet_diagnostic.CA1865.severity = suggestion dotnet_diagnostic.CA1869.severity = none # CA2208: Instantiate argument exceptions correctly -dotnet_diagnostic.CA2208.severity = none \ No newline at end of file +dotnet_diagnostic.CA2208.severity = none + +# CS9191: The 'ref' modifier for argument corresponding to 'in' is equivalent to 'in'. Consider using 'in' instead. +dotnet_diagnostic.CS9191.severity = none \ No newline at end of file