File tree Expand file tree Collapse file tree 1 file changed +1
-18
lines changed
src/NetAnalyzers/UnitTests/Microsoft.NetCore.Analyzers/Runtime Expand file tree Collapse file tree 1 file changed +1
-18
lines changed Original file line number Diff line number Diff line change @@ -952,25 +952,8 @@ public async Task CA1305_GuidParse_NoDiagnosticsAsync()
952952 {
953953 await new VerifyCS . Test
954954 {
955- ReferenceAssemblies = new ReferenceAssemblies ( "" ) , // workaround for lack of .NET 7 Preview 4 reference assemblies
955+ ReferenceAssemblies = ReferenceAssemblies . Net . Net70 ,
956956 TestCode = @"
957- namespace System
958- {
959- public class Object { }
960- public abstract class ValueType { }
961- public struct Void { }
962- public class String { }
963- public interface IFormatProvider { }
964- public struct Guid
965- {
966- public static Guid Parse(string s) => default;
967- public static Guid Parse(string s, IFormatProvider provider) => default;
968- }
969- }
970- namespace System.Globalization
971- {
972- public class CultureInfo : IFormatProvider { }
973- }
974957namespace Test
975958{
976959 using System;
You can’t perform that action at this time.
0 commit comments