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