104 references to WellKnownTag
Microsoft.CodeAnalysis.VisualBasic (104)
Compilation\DocumentationComments\DocumentationCommentCompiler.Common.vb (70)
68
Private Shared Function GetElementNameOfWellKnownTag(tag As
WellKnownTag
) As String
70
Case
WellKnownTag
.C
72
Case
WellKnownTag
.Code
74
Case
WellKnownTag
.Example
76
Case
WellKnownTag
.Exception
78
Case
WellKnownTag
.Include
80
Case
WellKnownTag
.List
82
Case
WellKnownTag
.Para
84
Case
WellKnownTag
.Param
86
Case
WellKnownTag
.ParamRef
88
Case
WellKnownTag
.Permission
90
Case
WellKnownTag
.Remarks
92
Case
WellKnownTag
.Returns
94
Case
WellKnownTag
.See
96
Case
WellKnownTag
.SeeAlso
98
Case
WellKnownTag
.Summary
100
Case
WellKnownTag
.TypeParam
102
Case
WellKnownTag
.TypeParamRef
104
Case
WellKnownTag
.Value
111
Private Shared Function GetWellKnownTag(elementName As String) As
WellKnownTag
113
Return
WellKnownTag
.None
118
Return
WellKnownTag
.C
120
Return
WellKnownTag
.Code
122
Return
WellKnownTag
.Example
124
Return
WellKnownTag
.Exception
126
Return
WellKnownTag
.Include
128
Return
WellKnownTag
.List
130
Return
WellKnownTag
.Para
132
Return
WellKnownTag
.Param
134
Return
WellKnownTag
.ParamRef
136
Return
WellKnownTag
.Permission
138
Return
WellKnownTag
.Remarks
140
Return
WellKnownTag
.Returns
142
Return
WellKnownTag
.See
144
Return
WellKnownTag
.SeeAlso
146
Return
WellKnownTag
.Summary
148
Return
WellKnownTag
.TypeParam
150
Return
WellKnownTag
.TypeParamRef
152
Return
WellKnownTag
.Value
155
Return
WellKnownTag
.None
158
Private Sub ReportIllegalWellKnownTagIfAny(tag As
WellKnownTag
,
159
wellKnownElementNodes As Dictionary(Of
WellKnownTag
, ArrayBuilder(Of XmlNodeSyntax)),
166
Private Sub ReportIllegalWellKnownTagIfAny(tag As
WellKnownTag
,
168
wellKnownElementNodes As Dictionary(Of
WellKnownTag
, ArrayBuilder(Of XmlNodeSyntax)),
183
Private Sub ReportWarningsForDuplicatedTags(wellKnownElementNodes As Dictionary(Of
WellKnownTag
, ArrayBuilder(Of XmlNodeSyntax)), Optional isEvent As Boolean = False)
188
If wellKnownElementNodes.TryGetValue(
WellKnownTag
.Include, nodes) Then
194
If Not isEvent AndAlso wellKnownElementNodes.TryGetValue(
WellKnownTag
.Param, nodes) Then
198
If wellKnownElementNodes.TryGetValue(
WellKnownTag
.Permission, nodes) Then
202
If wellKnownElementNodes.TryGetValue(
WellKnownTag
.Remarks, nodes) Then
206
If wellKnownElementNodes.TryGetValue(
WellKnownTag
.Returns, nodes) Then
210
If wellKnownElementNodes.TryGetValue(
WellKnownTag
.Summary, nodes) Then
214
If wellKnownElementNodes.TryGetValue(
WellKnownTag
.TypeParam, nodes) Then
218
If wellKnownElementNodes.TryGetValue(
WellKnownTag
.Value, nodes) Then
339
Private Sub ReportWarningsForExceptionTags(wellKnownElementNodes As Dictionary(Of
WellKnownTag
, ArrayBuilder(Of XmlNodeSyntax)))
341
If wellKnownElementNodes.TryGetValue(
WellKnownTag
.Exception, builder) Then
374
Private Sub ReportWarningsForParamAndParamRefTags(wellKnownElementNodes As Dictionary(Of
WellKnownTag
, ArrayBuilder(Of XmlNodeSyntax)),
380
WellKnownTag
.Param,
381
WellKnownTag
.ParamRef,
388
Private Sub ReportWarningsForTypeParamTags(wellKnownElementNodes As Dictionary(Of
WellKnownTag
, ArrayBuilder(Of XmlNodeSyntax)),
394
WellKnownTag
.TypeParam,
395
WellKnownTag
.None,
402
Private Sub ReportWarningsForTypeParamRefTags(wellKnownElementNodes As Dictionary(Of
WellKnownTag
, ArrayBuilder(Of XmlNodeSyntax)),
408
If wellKnownElementNodes.TryGetValue(
WellKnownTag
.TypeParamRef, builder) Then
446
wellKnownElementNodes As Dictionary(Of
WellKnownTag
, ArrayBuilder(Of XmlNodeSyntax)),
447
tag As
WellKnownTag
,
448
tagRef As
WellKnownTag
,
458
If tagRef <>
WellKnownTag
.None Then
518
Private Shared Sub FreeWellKnownElementNodes(wellKnownElementNodes As Dictionary(Of
WellKnownTag
, ArrayBuilder(Of XmlNodeSyntax)))
530
wellKnownElementNodes As Dictionary(Of
WellKnownTag
, ArrayBuilder(Of XmlNodeSyntax))) As String
560
wellKnownElementNodes.TryGetValue(
WellKnownTag
.Include, includeNodes)
Compilation\DocumentationComments\DocumentationCommentCompiler.Event.vb (4)
47
Dim wellKnownElementNodes As New Dictionary(Of
WellKnownTag
, ArrayBuilder(Of XmlNodeSyntax))
68
ReportIllegalWellKnownTagIfAny(
WellKnownTag
.Returns, wellKnownElementNodes, symbolName)
83
ReportIllegalWellKnownTagIfAny(
WellKnownTag
.Value, wellKnownElementNodes, symbolName)
86
ReportIllegalWellKnownTagIfAny(
WellKnownTag
.TypeParam, wellKnownElementNodes, symbolName)
Compilation\DocumentationComments\DocumentationCommentCompiler.Field.vb (7)
44
Dim wellKnownElementNodes As New Dictionary(Of
WellKnownTag
, ArrayBuilder(Of XmlNodeSyntax))
62
ReportIllegalWellKnownTagIfAny(
WellKnownTag
.Exception, wellKnownElementNodes, symbolName)
65
ReportIllegalWellKnownTagIfAny(
WellKnownTag
.Returns, wellKnownElementNodes, symbolName)
68
ReportIllegalWellKnownTagIfAny(
WellKnownTag
.Param, wellKnownElementNodes, symbolName)
71
ReportIllegalWellKnownTagIfAny(
WellKnownTag
.ParamRef, wellKnownElementNodes, symbolName)
74
ReportIllegalWellKnownTagIfAny(
WellKnownTag
.Value, wellKnownElementNodes, symbolName)
77
ReportIllegalWellKnownTagIfAny(
WellKnownTag
.TypeParam, wellKnownElementNodes, symbolName)
Compilation\DocumentationComments\DocumentationCommentCompiler.Method.vb (5)
70
Dim wellKnownElementNodes As New Dictionary(Of
WellKnownTag
, ArrayBuilder(Of XmlNodeSyntax))
93
ReportIllegalWellKnownTagIfAny(
WellKnownTag
.Returns, ERRID.WRN_XMLDocReturnsOnADeclareSub, wellKnownElementNodes)
95
ReportIllegalWellKnownTagIfAny(
WellKnownTag
.Returns, wellKnownElementNodes, symbolName)
103
ReportIllegalWellKnownTagIfAny(
WellKnownTag
.Value, wellKnownElementNodes, symbolName)
107
ReportIllegalWellKnownTagIfAny(
WellKnownTag
.TypeParam, wellKnownElementNodes, symbolName)
Compilation\DocumentationComments\DocumentationCommentCompiler.NamedType.vb (10)
85
Dim wellKnownElementNodes As New Dictionary(Of
WellKnownTag
, ArrayBuilder(Of XmlNodeSyntax))
104
ReportIllegalWellKnownTagIfAny(
WellKnownTag
.Exception, wellKnownElementNodes, symbolName)
109
ReportIllegalWellKnownTagIfAny(
WellKnownTag
.Returns, wellKnownElementNodes, "delegate sub")
112
ReportIllegalWellKnownTagIfAny(
WellKnownTag
.Returns, wellKnownElementNodes, symbolName)
119
ReportIllegalWellKnownTagIfAny(
WellKnownTag
.Param, wellKnownElementNodes, symbolName)
120
ReportIllegalWellKnownTagIfAny(
WellKnownTag
.ParamRef, wellKnownElementNodes, symbolName)
124
ReportIllegalWellKnownTagIfAny(
WellKnownTag
.Value, wellKnownElementNodes, symbolName)
128
ReportIllegalWellKnownTagIfAny(
WellKnownTag
.TypeParam, wellKnownElementNodes, symbolName)
133
ReportIllegalWellKnownTagIfAny(
WellKnownTag
.TypeParam, wellKnownElementNodes, symbolName)
134
ReportIllegalWellKnownTagIfAny(
WellKnownTag
.TypeParamRef, wellKnownElementNodes, symbolName)
Compilation\DocumentationComments\DocumentationCommentCompiler.Property.vb (3)
48
Dim wellKnownElementNodes As New Dictionary(Of
WellKnownTag
, ArrayBuilder(Of XmlNodeSyntax))
70
ReportIllegalWellKnownTagIfAny(
WellKnownTag
.Returns, ERRID.WRN_XMLDocReturnsOnWriteOnlyProperty, wellKnownElementNodes)
77
ReportIllegalWellKnownTagIfAny(
WellKnownTag
.TypeParam, wellKnownElementNodes, symbolName)
Compilation\DocumentationComments\DocumentationCommentWalker.vb (5)
33
Private ReadOnly _wellKnownElementNodes As Dictionary(Of
WellKnownTag
, ArrayBuilder(Of XmlNodeSyntax))
40
wellKnownElementNodes As Dictionary(Of
WellKnownTag
, ArrayBuilder(Of XmlNodeSyntax)),
71
Dim tag As
WellKnownTag
= GetWellKnownTag(xmlName)
72
If (tag And
WellKnownTag
.AllCollectable) = 0 Then
111
wellKnownElementNodes As Dictionary(Of
WellKnownTag
, ArrayBuilder(Of XmlNodeSyntax)),