parent
5e57e9f235
commit
2d90ae47f9
|
|
@ -8,8 +8,20 @@ namespace Microsoft.AspNetCore.Razor.Language.Intermediate
|
||||||
public sealed class AddTagHelperHtmlAttributeIntermediateNode : IntermediateNode
|
public sealed class AddTagHelperHtmlAttributeIntermediateNode : IntermediateNode
|
||||||
{
|
{
|
||||||
private RazorDiagnosticCollection _diagnostics;
|
private RazorDiagnosticCollection _diagnostics;
|
||||||
|
private ItemCollection _annotations;
|
||||||
|
|
||||||
public override ItemCollection Annotations => ReadOnlyItemCollection.Empty;
|
public override ItemCollection Annotations
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
if (_annotations == null)
|
||||||
|
{
|
||||||
|
_annotations = new DefaultItemCollection();
|
||||||
|
}
|
||||||
|
|
||||||
|
return _annotations;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public override RazorDiagnosticCollection Diagnostics
|
public override RazorDiagnosticCollection Diagnostics
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,20 @@ namespace Microsoft.AspNetCore.Razor.Language.Intermediate
|
||||||
public sealed class CSharpCodeAttributeValueIntermediateNode : IntermediateNode
|
public sealed class CSharpCodeAttributeValueIntermediateNode : IntermediateNode
|
||||||
{
|
{
|
||||||
private RazorDiagnosticCollection _diagnostics;
|
private RazorDiagnosticCollection _diagnostics;
|
||||||
|
private ItemCollection _annotations;
|
||||||
|
|
||||||
public override ItemCollection Annotations => ReadOnlyItemCollection.Empty;
|
public override ItemCollection Annotations
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
if (_annotations == null)
|
||||||
|
{
|
||||||
|
_annotations = new DefaultItemCollection();
|
||||||
|
}
|
||||||
|
|
||||||
|
return _annotations;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public override RazorDiagnosticCollection Diagnostics
|
public override RazorDiagnosticCollection Diagnostics
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,20 @@ namespace Microsoft.AspNetCore.Razor.Language.Intermediate
|
||||||
public sealed class CSharpExpressionAttributeValueIntermediateNode : IntermediateNode
|
public sealed class CSharpExpressionAttributeValueIntermediateNode : IntermediateNode
|
||||||
{
|
{
|
||||||
private RazorDiagnosticCollection _diagnostics;
|
private RazorDiagnosticCollection _diagnostics;
|
||||||
|
private ItemCollection _annotations;
|
||||||
|
|
||||||
public override ItemCollection Annotations => ReadOnlyItemCollection.Empty;
|
public override ItemCollection Annotations
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
if (_annotations == null)
|
||||||
|
{
|
||||||
|
_annotations = new DefaultItemCollection();
|
||||||
|
}
|
||||||
|
|
||||||
|
return _annotations;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public override RazorDiagnosticCollection Diagnostics
|
public override RazorDiagnosticCollection Diagnostics
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,20 @@ namespace Microsoft.AspNetCore.Razor.Language.Intermediate
|
||||||
public sealed class CreateTagHelperIntermediateNode : IntermediateNode
|
public sealed class CreateTagHelperIntermediateNode : IntermediateNode
|
||||||
{
|
{
|
||||||
private RazorDiagnosticCollection _diagnostics;
|
private RazorDiagnosticCollection _diagnostics;
|
||||||
|
private ItemCollection _annotations;
|
||||||
|
|
||||||
public override ItemCollection Annotations => ReadOnlyItemCollection.Empty;
|
public override ItemCollection Annotations
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
if (_annotations == null)
|
||||||
|
{
|
||||||
|
_annotations = new DefaultItemCollection();
|
||||||
|
}
|
||||||
|
|
||||||
|
return _annotations;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public override RazorDiagnosticCollection Diagnostics
|
public override RazorDiagnosticCollection Diagnostics
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,20 @@ namespace Microsoft.AspNetCore.Razor.Language.Intermediate
|
||||||
public sealed class DeclareTagHelperFieldsIntermediateNode : IntermediateNode
|
public sealed class DeclareTagHelperFieldsIntermediateNode : IntermediateNode
|
||||||
{
|
{
|
||||||
private RazorDiagnosticCollection _diagnostics;
|
private RazorDiagnosticCollection _diagnostics;
|
||||||
|
private ItemCollection _annotations;
|
||||||
|
|
||||||
public override ItemCollection Annotations => ReadOnlyItemCollection.Empty;
|
public override ItemCollection Annotations
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
if (_annotations == null)
|
||||||
|
{
|
||||||
|
_annotations = new DefaultItemCollection();
|
||||||
|
}
|
||||||
|
|
||||||
|
return _annotations;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public override RazorDiagnosticCollection Diagnostics
|
public override RazorDiagnosticCollection Diagnostics
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,20 @@ namespace Microsoft.AspNetCore.Razor.Language.Intermediate
|
||||||
public sealed class DirectiveTokenIntermediateNode : IntermediateNode
|
public sealed class DirectiveTokenIntermediateNode : IntermediateNode
|
||||||
{
|
{
|
||||||
private RazorDiagnosticCollection _diagnostics;
|
private RazorDiagnosticCollection _diagnostics;
|
||||||
|
private ItemCollection _annotations;
|
||||||
|
|
||||||
public override ItemCollection Annotations => ReadOnlyItemCollection.Empty;
|
public override ItemCollection Annotations
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
if (_annotations == null)
|
||||||
|
{
|
||||||
|
_annotations = new DefaultItemCollection();
|
||||||
|
}
|
||||||
|
|
||||||
|
return _annotations;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public override RazorDiagnosticCollection Diagnostics
|
public override RazorDiagnosticCollection Diagnostics
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,20 @@ namespace Microsoft.AspNetCore.Razor.Language.Intermediate
|
||||||
public sealed class HtmlAttributeIntermediateNode : IntermediateNode
|
public sealed class HtmlAttributeIntermediateNode : IntermediateNode
|
||||||
{
|
{
|
||||||
private RazorDiagnosticCollection _diagnostics;
|
private RazorDiagnosticCollection _diagnostics;
|
||||||
|
private ItemCollection _annotations;
|
||||||
|
|
||||||
public override ItemCollection Annotations => ReadOnlyItemCollection.Empty;
|
public override ItemCollection Annotations
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
if (_annotations == null)
|
||||||
|
{
|
||||||
|
_annotations = new DefaultItemCollection();
|
||||||
|
}
|
||||||
|
|
||||||
|
return _annotations;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public override RazorDiagnosticCollection Diagnostics
|
public override RazorDiagnosticCollection Diagnostics
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,20 @@ namespace Microsoft.AspNetCore.Razor.Language.Intermediate
|
||||||
public sealed class HtmlAttributeValueIntermediateNode : IntermediateNode
|
public sealed class HtmlAttributeValueIntermediateNode : IntermediateNode
|
||||||
{
|
{
|
||||||
private RazorDiagnosticCollection _diagnostics;
|
private RazorDiagnosticCollection _diagnostics;
|
||||||
|
private ItemCollection _annotations;
|
||||||
|
|
||||||
public override ItemCollection Annotations => ReadOnlyItemCollection.Empty;
|
public override ItemCollection Annotations
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
if (_annotations == null)
|
||||||
|
{
|
||||||
|
_annotations = new DefaultItemCollection();
|
||||||
|
}
|
||||||
|
|
||||||
|
return _annotations;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public override RazorDiagnosticCollection Diagnostics
|
public override RazorDiagnosticCollection Diagnostics
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,20 @@ namespace Microsoft.AspNetCore.Razor.Language.Intermediate
|
||||||
public sealed class HtmlContentIntermediateNode : IntermediateNode
|
public sealed class HtmlContentIntermediateNode : IntermediateNode
|
||||||
{
|
{
|
||||||
private RazorDiagnosticCollection _diagnostics;
|
private RazorDiagnosticCollection _diagnostics;
|
||||||
|
private ItemCollection _annotations;
|
||||||
|
|
||||||
public override ItemCollection Annotations => ReadOnlyItemCollection.Empty;
|
public override ItemCollection Annotations
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
if (_annotations == null)
|
||||||
|
{
|
||||||
|
_annotations = new DefaultItemCollection();
|
||||||
|
}
|
||||||
|
|
||||||
|
return _annotations;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public override RazorDiagnosticCollection Diagnostics
|
public override RazorDiagnosticCollection Diagnostics
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,20 @@ namespace Microsoft.AspNetCore.Razor.Language.Intermediate
|
||||||
public sealed class IntermediateToken : IntermediateNode
|
public sealed class IntermediateToken : IntermediateNode
|
||||||
{
|
{
|
||||||
private RazorDiagnosticCollection _diagnostics;
|
private RazorDiagnosticCollection _diagnostics;
|
||||||
|
private ItemCollection _annotations;
|
||||||
|
|
||||||
public override ItemCollection Annotations => ReadOnlyItemCollection.Empty;
|
public override ItemCollection Annotations
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
if (_annotations == null)
|
||||||
|
{
|
||||||
|
_annotations = new DefaultItemCollection();
|
||||||
|
}
|
||||||
|
|
||||||
|
return _annotations;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public override RazorDiagnosticCollection Diagnostics
|
public override RazorDiagnosticCollection Diagnostics
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,20 @@ namespace Microsoft.AspNetCore.Razor.Language.Intermediate
|
||||||
public sealed class SetTagHelperPropertyIntermediateNode : IntermediateNode
|
public sealed class SetTagHelperPropertyIntermediateNode : IntermediateNode
|
||||||
{
|
{
|
||||||
private RazorDiagnosticCollection _diagnostics;
|
private RazorDiagnosticCollection _diagnostics;
|
||||||
|
private ItemCollection _annotations;
|
||||||
|
|
||||||
public override ItemCollection Annotations => ReadOnlyItemCollection.Empty;
|
public override ItemCollection Annotations
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
if (_annotations == null)
|
||||||
|
{
|
||||||
|
_annotations = new DefaultItemCollection();
|
||||||
|
}
|
||||||
|
|
||||||
|
return _annotations;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public override RazorDiagnosticCollection Diagnostics
|
public override RazorDiagnosticCollection Diagnostics
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,20 @@ namespace Microsoft.AspNetCore.Razor.Language.Intermediate
|
||||||
public sealed class TagHelperBodyIntermediateNode : IntermediateNode
|
public sealed class TagHelperBodyIntermediateNode : IntermediateNode
|
||||||
{
|
{
|
||||||
private RazorDiagnosticCollection _diagnostics;
|
private RazorDiagnosticCollection _diagnostics;
|
||||||
|
private ItemCollection _annotations;
|
||||||
|
|
||||||
public override ItemCollection Annotations => ReadOnlyItemCollection.Empty;
|
public override ItemCollection Annotations
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
if (_annotations == null)
|
||||||
|
{
|
||||||
|
_annotations = new DefaultItemCollection();
|
||||||
|
}
|
||||||
|
|
||||||
|
return _annotations;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public override RazorDiagnosticCollection Diagnostics
|
public override RazorDiagnosticCollection Diagnostics
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,20 @@ namespace Microsoft.AspNetCore.Razor.Language.Intermediate
|
||||||
public sealed class UsingDirectiveIntermediateNode : IntermediateNode
|
public sealed class UsingDirectiveIntermediateNode : IntermediateNode
|
||||||
{
|
{
|
||||||
private RazorDiagnosticCollection _diagnostics;
|
private RazorDiagnosticCollection _diagnostics;
|
||||||
|
private ItemCollection _annotations;
|
||||||
|
|
||||||
public override ItemCollection Annotations => ReadOnlyItemCollection.Empty;
|
public override ItemCollection Annotations
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
if (_annotations == null)
|
||||||
|
{
|
||||||
|
_annotations = new DefaultItemCollection();
|
||||||
|
}
|
||||||
|
|
||||||
|
return _annotations;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public override RazorDiagnosticCollection Diagnostics
|
public override RazorDiagnosticCollection Diagnostics
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue