@@ -15,7 +15,8 @@ public static class ProcessorDiagnosticExtensions
1515 public static void EmitError ( this InlineProcessor processor , int line , int column , int length , string message )
1616 {
1717 var context = processor . GetContext ( ) ;
18- if ( context . SkipValidation ) return ;
18+ if ( context . SkipValidation )
19+ return ;
1920 var d = new Diagnostic
2021 {
2122 Severity = Severity . Error ,
@@ -32,7 +33,8 @@ public static void EmitError(this InlineProcessor processor, int line, int colum
3233 public static void EmitWarning ( this InlineProcessor processor , int line , int column , int length , string message )
3334 {
3435 var context = processor . GetContext ( ) ;
35- if ( context . SkipValidation ) return ;
36+ if ( context . SkipValidation )
37+ return ;
3638 var d = new Diagnostic
3739 {
3840 Severity = Severity . Warning ,
@@ -47,7 +49,8 @@ public static void EmitWarning(this InlineProcessor processor, int line, int col
4749
4850 public static void EmitError ( this ParserContext context , int line , int column , int length , string message , Exception ? e = null )
4951 {
50- if ( context . SkipValidation ) return ;
52+ if ( context . SkipValidation )
53+ return ;
5154 var d = new Diagnostic
5255 {
5356 Severity = Severity . Error ,
@@ -62,7 +65,8 @@ public static void EmitError(this ParserContext context, int line, int column, i
6265
6366 public static void EmitWarning ( this ParserContext context , int line , int column , int length , string message )
6467 {
65- if ( context . SkipValidation ) return ;
68+ if ( context . SkipValidation )
69+ return ;
6670 var d = new Diagnostic
6771 {
6872 Severity = Severity . Warning ,
@@ -99,7 +103,8 @@ public static void EmitWarning(this BuildContext context, IFileInfo file, string
99103
100104 public static void EmitError ( this IBlockExtension block , string message , Exception ? e = null )
101105 {
102- if ( block . SkipValidation ) return ;
106+ if ( block . SkipValidation )
107+ return ;
103108
104109 var d = new Diagnostic
105110 {
@@ -115,7 +120,8 @@ public static void EmitError(this IBlockExtension block, string message, Excepti
115120
116121 public static void EmitWarning ( this IBlockExtension block , string message )
117122 {
118- if ( block . SkipValidation ) return ;
123+ if ( block . SkipValidation )
124+ return ;
119125
120126 var d = new Diagnostic
121127 {
0 commit comments