58 references to CreatePart
Microsoft.CodeAnalysis.CSharp (58)
SymbolDisplay\SymbolDisplayVisitor.cs (16)
157Builder.Add(CreatePart(SymbolDisplayPartKind.AssemblyName, symbol, text)); 162Builder.Add(CreatePart(SymbolDisplayPartKind.ModuleName, symbol, symbol.Name)); 200Builder.Add(CreatePart(SymbolDisplayPartKind.NamespaceName, symbol, symbol.Name)); 216Builder.Add(CreatePart( 223Builder.Add(CreatePart(SymbolDisplayPartKind.Keyword, globalNamespace, 229Builder.Add(CreatePart( 275Builder.Add(CreatePart(SymbolDisplayPartKind.ConstantName, symbol, symbol.Name)); 279Builder.Add(CreatePart(SymbolDisplayPartKind.LocalName, symbol, symbol.Name)); 303Builder.Add(CreatePart(SymbolDisplayPartKind.Punctuation, symbol, "_")); 318Builder.Add(CreatePart(SymbolDisplayPartKind.ErrorTypeName, type, "?")); 324Builder.Add(CreatePart(SymbolDisplayPartKind.RangeVariableName, symbol, symbol.Name)); 329Builder.Add(CreatePart(SymbolDisplayPartKind.LabelName, symbol, symbol.Name)); 334Builder.Add(CreatePart(SymbolDisplayPartKind.AliasName, symbol, symbol.Name)); 353Builder.Add(CreatePart(SymbolDisplayPartKind.Space, null, " ")); 358Builder.Add(CreatePart(SymbolDisplayPartKind.Punctuation, null, SyntaxFacts.GetText(punctuationKind))); 363Builder.Add(CreatePart(SymbolDisplayPartKind.Keyword, null, SyntaxFacts.GetText(keywordKind)));
SymbolDisplay\SymbolDisplayVisitor.Members.cs (26)
72Builder.Add(CreatePart(SymbolDisplayPartKind.EnumMemberName, symbol, symbol.Name)); 76Builder.Add(CreatePart(SymbolDisplayPartKind.ConstantName, symbol, symbol.Name)); 80Builder.Add(CreatePart(SymbolDisplayPartKind.FieldName, symbol, symbol.Name)); 214this.Builder.Add(CreatePart(SymbolDisplayPartKind.PropertyName, symbol, 219this.Builder.Add(CreatePart(SymbolDisplayPartKind.PropertyName, symbol, symbol.Name)); 269this.Builder.Add(CreatePart(SymbolDisplayPartKind.EventName, symbol, 274this.Builder.Add(CreatePart(SymbolDisplayPartKind.EventName, symbol, symbol.Name)); 284Builder.Add(CreatePart(SymbolDisplayPartKind.NumericLiteral, symbol, "lambda expression")); 428Builder.Add(CreatePart(SymbolDisplayPartKind.MethodName, symbol, symbol.Name)); 435Builder.Add(CreatePart(SymbolDisplayPartKind.ExtensionMethodName, symbol, symbol.Name)); 479Builder.Add(CreatePart(partKind, symbol, name)); 489Builder.Add(CreatePart(partKind, symbol, symbol.Name)); 494Builder.Add(CreatePart(partKind, symbol, symbol.ContainingType.Name)); 524Builder.Add(CreatePart(SymbolDisplayPartKind.MethodName, symbol, 533Builder.Add(CreatePart(SymbolDisplayPartKind.MethodName, symbol, symbol.MetadataName)); 541Builder.Add(CreatePart(SymbolDisplayPartKind.MethodName, symbol, symbol.Name)); 554Builder.Add(CreatePart(SymbolDisplayPartKind.MethodName, symbol, symbol.MetadataName)); 562Builder.Add(CreatePart(SymbolDisplayPartKind.MethodName, symbol, symbol.Name)); 601Builder.Add(CreatePart(SymbolDisplayPartKind.ClassName, symbol, "Cdecl")); 604Builder.Add(CreatePart(SymbolDisplayPartKind.ClassName, symbol, "Stdcall")); 607Builder.Add(CreatePart(SymbolDisplayPartKind.ClassName, symbol, "Thiscall")); 610Builder.Add(CreatePart(SymbolDisplayPartKind.ClassName, symbol, "Fastcall")); 627Builder.Add(CreatePart(SymbolDisplayPartKind.ClassName, conventionType, conventionType.Name[CallConvLength..])); 710Builder.Add(CreatePart(SymbolDisplayPartKind.Operator, symbol, 858Builder.Add(CreatePart(kind, symbol, symbol.Name)); 1075this.Builder.Add(CreatePart(InternalSymbolDisplayPartKind.Other, null, customModifier.IsOptional ? IL_KEYWORD_MODOPT : IL_KEYWORD_MODREQ));
SymbolDisplay\SymbolDisplayVisitor.Types.cs (13)
164Builder.Add(CreatePart(SymbolDisplayPartKind.TypeParameterName, symbol, symbol.Name)); 171Builder.Add(CreatePart(SymbolDisplayPartKind.Keyword, symbol, symbol.Name)); 182Builder.Add(CreatePart(SymbolDisplayPartKind.ModuleName, symbol, fileLocalNamePrefix)); 195Builder.Add(CreatePart(SymbolDisplayPartKind.Punctuation, symbol, "@")); 196Builder.Add(CreatePart(SymbolDisplayPartKind.ModuleName, symbol, fileDescription)); 377Builder.Add(CreatePart(partKind, symbol, "?")); 382Builder.Add(CreatePart(partKind, symbol, symbolName)); 391Builder.Add(CreatePart(InternalSymbolDisplayPartKind.Arity, null, 428Builder.Add(CreatePart(InternalSymbolDisplayPartKind.Other, symbol, "missing")); 543Builder.Add(CreatePart(SymbolDisplayPartKind.StructName, symbol, "<tuple>")); 564Builder.Add(CreatePart(SymbolDisplayPartKind.FieldName, element, element.Name)); 575Builder.Add(CreatePart(InternalSymbolDisplayPartKind.Other, symbol, "missing")); 631Builder.Add(CreatePart(SymbolDisplayPartKind.Keyword, symbol, specialTypeName));
SymbolDisplay\SymbolDisplayVisitor_Constants.cs (1)
61this.Builder.Add(CreatePart(kind, null, valueString));
SymbolDisplay\SymbolDisplayVisitor_Minimal.cs (2)
39builder.Add(CreatePart(SymbolDisplayPartKind.AliasName, alias, aliasName)); 113Builder.Add(CreatePart(SymbolDisplayPartKind.NamespaceName, symbol, symbol.Name));