@@ -63,7 +63,7 @@ public void Report_overload_2_Tests( )
6363 // [InterpolatedStringHandlerArgument( "self", "level" )] DiagnosticReporterInterpolatedStringHandler handler
6464 //)
6565
66- const MsgLevel testLevel = MsgLevel . Verbose ;
66+ const MessageLevel testLevel = MessageLevel . Verbose ;
6767 const string testValue = "[Boo]" ;
6868 const string expectedMsg = "This is a test value: [Boo]" ;
6969
@@ -84,7 +84,7 @@ public void Report_overload_2_Tests( )
8484
8585 // Validate interpolated string handler filters correctly
8686 // Messages captured must be Information+
87- reporter = new TestReporter ( MsgLevel . Information ) ;
87+ reporter = new TestReporter ( MessageLevel . Information ) ;
8888 DiagnosticReporterExtensions . Report ( reporter , testLevel , $ "This is a test value: { SetValue ( testValue ) } " ) ;
8989 Assert . HasCount ( 0 , reporter . VerboseMessages ) ;
9090 Assert . HasCount ( 0 , reporter . AllMessages ) ;
@@ -110,7 +110,7 @@ public void Report_overload_3_Tests( )
110110 // string msg
111111 //)
112112
113- const MsgLevel testLevel = MsgLevel . Verbose ;
113+ const MessageLevel testLevel = MessageLevel . Verbose ;
114114 const string testMsg = "This is a test" ;
115115
116116 var reporter = new TestReporter ( ) ; // Default is capture all
@@ -127,7 +127,7 @@ public void Report_overload_3_Tests( )
127127 Assert . AreEqual ( testMsg , msg . Text ) ;
128128
129129 // Messages captured must be Information+
130- reporter = new TestReporter ( MsgLevel . Information ) ;
130+ reporter = new TestReporter ( MessageLevel . Information ) ;
131131 DiagnosticReporterExtensions . Report ( reporter , testLevel , testMsg ) ;
132132 Assert . HasCount ( 0 , reporter . VerboseMessages ) ;
133133 Assert . HasCount ( 0 , reporter . AllMessages ) ;
@@ -143,7 +143,7 @@ public void Report_overload_4_Tests( )
143143 // [InterpolatedStringHandlerArgument( "self", "level" )] DiagnosticReporterInterpolatedStringHandler handler
144144 //)
145145
146- const MsgLevel testLevel = MsgLevel . Verbose ;
146+ const MessageLevel testLevel = MessageLevel . Verbose ;
147147 var testLocation = new SourceRange ( new SourcePosition ( 2 , 3 , 4 ) , new SourcePosition ( 3 , 4 , 5 ) ) ;
148148 const string testValue = "[Boo]" ;
149149 const string expectedMsg = "This is a test value: [Boo]" ;
@@ -165,7 +165,7 @@ public void Report_overload_4_Tests( )
165165
166166 // Validate interpolated string handler filters correctly
167167 // Messages captured must be Information+
168- reporter = new TestReporter ( MsgLevel . Information ) ;
168+ reporter = new TestReporter ( MessageLevel . Information ) ;
169169 DiagnosticReporterExtensions . Report ( reporter , testLevel , testLocation , $ "This is a test value: { SetValue ( testValue ) } " ) ;
170170 Assert . HasCount ( 0 , reporter . VerboseMessages ) ;
171171 Assert . HasCount ( 0 , reporter . AllMessages ) ;
@@ -194,7 +194,7 @@ public void Report_overload_5_Tests( )
194194 // params object[] args
195195 // )
196196
197- const MsgLevel testLevel = MsgLevel . Verbose ;
197+ const MessageLevel testLevel = MessageLevel . Verbose ;
198198 var testLocation = new SourceRange ( new SourcePosition ( 2 , 3 , 4 ) , new SourcePosition ( 3 , 4 , 5 ) ) ;
199199 var testOrigin = new Uri ( "file://foo" ) ;
200200 const string testFormat = "This is a test value: {0}" ;
@@ -215,7 +215,7 @@ public void Report_overload_5_Tests( )
215215 Assert . AreEqual ( expectedMsg , msg . Text ) ;
216216
217217 // Messages captured must be Information+
218- reporter = new TestReporter ( MsgLevel . Information ) ;
218+ reporter = new TestReporter ( MessageLevel . Information ) ;
219219 DiagnosticReporterExtensions . Report ( reporter , testLevel , testOrigin , testLocation , testFormat , testValue ) ;
220220 Assert . HasCount ( 0 , reporter . VerboseMessages ) ;
221221 Assert . HasCount ( 0 , reporter . AllMessages ) ;
@@ -232,7 +232,7 @@ public void Report_overload6_Tests( )
232232 // [InterpolatedStringHandlerArgument( "self", "level" )] DiagnosticReporterInterpolatedStringHandler handler
233233 //)
234234
235- const MsgLevel level = MsgLevel . Verbose ;
235+ const MessageLevel level = MessageLevel . Verbose ;
236236 var location = new SourceRange ( new SourcePosition ( 2 , 3 , 4 ) , new SourcePosition ( 3 , 4 , 5 ) ) ;
237237 var origin = new Uri ( "file://foo" ) ;
238238 string testValue = "[Boo]" ;
@@ -243,7 +243,7 @@ public void Report_overload6_Tests( )
243243 Assert . HasCount ( 1 , reporter . VerboseMessages ) ;
244244 var msg = reporter . VerboseMessages [ 0 ] ;
245245 Assert . IsNull ( msg . Code ) ;
246- Assert . AreEqual ( MsgLevel . Verbose , msg . Level ) ;
246+ Assert . AreEqual ( MessageLevel . Verbose , msg . Level ) ;
247247 Assert . AreEqual ( location , msg . Location ) ;
248248 Assert . AreEqual ( origin , msg . Origin ) ;
249249 Assert . IsNull ( msg . Subcategory ) ;
@@ -253,7 +253,7 @@ public void Report_overload6_Tests( )
253253
254254 // Validate interpolated string handler filters correctly
255255 // Messages captured must be Information+
256- reporter = new TestReporter ( MsgLevel . Information ) ;
256+ reporter = new TestReporter ( MessageLevel . Information ) ;
257257 DiagnosticReporterExtensions . Report ( reporter , level , $ "This is a test value: { SetValue ( testValue ) } " ) ;
258258 Assert . HasCount ( 0 , reporter . VerboseMessages ) ;
259259 Assert . HasCount ( 0 , reporter . AllMessages ) ;
@@ -287,11 +287,11 @@ public void Report_overload7_Tests( )
287287 var origin = new Uri ( "file://foo" ) ;
288288 string expecteMsg = $ "Testing 1, 2, { 1.23 . ToString ( CultureInfo . CurrentCulture ) } ";
289289
290- DiagnosticReporterExtensions . Report ( reporter , MsgLevel . Verbose , origin , location , "Testing 1, 2, {0}" , 1.23 ) ;
290+ DiagnosticReporterExtensions . Report ( reporter , MessageLevel . Verbose , origin , location , "Testing 1, 2, {0}" , 1.23 ) ;
291291 Assert . HasCount ( 1 , reporter . VerboseMessages ) ;
292292 var msg = reporter . VerboseMessages [ 0 ] ;
293293 Assert . IsNull ( msg . Code ) ;
294- Assert . AreEqual ( MsgLevel . Verbose , msg . Level ) ;
294+ Assert . AreEqual ( MessageLevel . Verbose , msg . Level ) ;
295295 Assert . AreEqual ( location , msg . Location ) ;
296296 Assert . AreEqual ( origin , msg . Origin ) ;
297297 Assert . IsNull ( msg . Subcategory ) ;
@@ -312,7 +312,7 @@ public void Report_overload8_Tests( )
312312 // string? code = default
313313 // )
314314
315- const MsgLevel testLevel = MsgLevel . Verbose ;
315+ const MessageLevel testLevel = MessageLevel . Verbose ;
316316 var testLocation = new SourceRange ( new SourcePosition ( 2 , 3 , 4 ) , new SourcePosition ( 3 , 4 , 5 ) ) ;
317317 var testOrigin = new Uri ( "file://foo" ) ;
318318 const string testMsg = "This is a test" ;
@@ -337,7 +337,7 @@ public void Report_overload8_Tests( )
337337 new DiagnosticMessage ( )
338338 {
339339 Code = "Code0" ,
340- Level = MsgLevel . Error ,
340+ Level = MessageLevel . Error ,
341341 Location = new Extensions . SourceRange ( new SourcePosition ( 2 , 3 , 10 ) , new SourcePosition ( 3 , 3 , 12 ) ) ,
342342 Origin = new System . Uri ( @"file://foo" ) ,
343343 Subcategory = "subcategory" ,
@@ -346,7 +346,7 @@ public void Report_overload8_Tests( )
346346 new DiagnosticMessage ( )
347347 {
348348 Code = "Code1" ,
349- Level = MsgLevel . Warning ,
349+ Level = MessageLevel . Warning ,
350350 Location = new Extensions . SourceRange ( new SourcePosition ( 2 , 3 , 10 ) , new SourcePosition ( 3 , 3 , 12 ) ) ,
351351 Origin = new System . Uri ( @"file://foo" ) ,
352352 Subcategory = "subcategory" ,
@@ -355,7 +355,7 @@ public void Report_overload8_Tests( )
355355 new DiagnosticMessage ( )
356356 {
357357 Code = "Code2" ,
358- Level = MsgLevel . Information ,
358+ Level = MessageLevel . Information ,
359359 Location = new Extensions . SourceRange ( new SourcePosition ( 2 , 3 , 10 ) , new SourcePosition ( 3 , 3 , 12 ) ) ,
360360 Origin = new System . Uri ( @"file://foo" ) ,
361361 Subcategory = "subcategory" ,
@@ -364,7 +364,7 @@ public void Report_overload8_Tests( )
364364 new DiagnosticMessage ( )
365365 {
366366 Code = "Code3" ,
367- Level = MsgLevel . Verbose ,
367+ Level = MessageLevel . Verbose ,
368368 Location = new Extensions . SourceRange ( new SourcePosition ( 2 , 3 , 10 ) , new SourcePosition ( 3 , 3 , 12 ) ) ,
369369 Origin = new System . Uri ( @"file://foo" ) ,
370370 Subcategory = "subcategory" ,
0 commit comments