11 instantiations of AttributeInfo
Microsoft.VisualStudio.LanguageServices.Implementation (11)
CodeModel\MethodXml\AbstractMethodXmlBuilder.AttributeInfo.cs (1)
13
public static readonly AttributeInfo Empty = new
AttributeInfo
();
CodeModel\MethodXml\AbstractMethodXmlBuilder.cs (10)
171
return new
AttributeInfo
(BinaryOperatorAttributeName, GetBinaryOperatorKindText(kind));
181
return new
AttributeInfo
(FullNameAttributeName, name);
191
return new
AttributeInfo
(ImplicitAttributeName, @implicit.Value ? "yes" : "no");
195
=> new
AttributeInfo
(LineAttributeName, lineNumber.ToString());
204
return new
AttributeInfo
(NameAttributeName, name);
208
=> new
AttributeInfo
(RankAttributeName, rank.ToString());
213
SpecialCastKind.DirectCast => new
AttributeInfo
(DirectCastAttributeName, "yes"),
214
SpecialCastKind.TryCast => new
AttributeInfo
(TryCastAttributeName, "yes"),
225
return new
AttributeInfo
(TypeAttributeName, typeName);
235
return new
AttributeInfo
(VariableKindAttributeName, GetVariableKindText(kind));
21 references to AttributeInfo
Microsoft.VisualStudio.LanguageServices.Implementation (21)
CodeModel\MethodXml\AbstractMethodXmlBuilder.AttributeInfo.cs (1)
13
public static readonly
AttributeInfo
Empty = new AttributeInfo();
CodeModel\MethodXml\AbstractMethodXmlBuilder.AutoTag.cs (1)
18
public AutoTag(AbstractMethodXmlBuilder xmlBuilder, string name,
AttributeInfo
[] attributes)
CodeModel\MethodXml\AbstractMethodXmlBuilder.cs (19)
108
private void AppendOpenTag(string name,
AttributeInfo
[] attributes)
113
foreach (
var
attribute in attributes.Where(a => !a.IsEmpty))
161
private IDisposable Tag(string name, params
AttributeInfo
[] attributes)
164
private static
AttributeInfo
BinaryOperatorAttribute(BinaryOperatorKind kind)
168
return
AttributeInfo
.Empty;
174
private static
AttributeInfo
FullNameAttribute(string name)
178
return
AttributeInfo
.Empty;
184
private static
AttributeInfo
ImplicitAttribute(bool? @implicit)
188
return
AttributeInfo
.Empty;
194
private static
AttributeInfo
LineNumberAttribute(int lineNumber)
197
private static
AttributeInfo
NameAttribute(string name)
201
return
AttributeInfo
.Empty;
207
private static
AttributeInfo
RankAttribute(int rank)
210
private static
AttributeInfo
SpecialCastKindAttribute(SpecialCastKind? specialCastKind = null)
215
_ =>
AttributeInfo
.Empty,
218
private static
AttributeInfo
TypeAttribute(string typeName)
222
return
AttributeInfo
.Empty;
228
private static
AttributeInfo
VariableKindAttribute(VariableKind kind)
232
return
AttributeInfo
.Empty;