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)); 346Builder.Add(CreatePart(SymbolDisplayPartKind.Space, null, " ")); 351Builder.Add(CreatePart(SymbolDisplayPartKind.Punctuation, null, SyntaxFacts.GetText(punctuationKind))); 356Builder.Add(CreatePart(SymbolDisplayPartKind.Keyword, null, SyntaxFacts.GetText(keywordKind)));
SymbolDisplay\SymbolDisplayVisitor.Members.cs (26)
64Builder.Add(CreatePart(SymbolDisplayPartKind.EnumMemberName, symbol, symbol.Name)); 68Builder.Add(CreatePart(SymbolDisplayPartKind.ConstantName, symbol, symbol.Name)); 72Builder.Add(CreatePart(SymbolDisplayPartKind.FieldName, symbol, symbol.Name)); 206this.Builder.Add(CreatePart(SymbolDisplayPartKind.PropertyName, symbol, 211this.Builder.Add(CreatePart(SymbolDisplayPartKind.PropertyName, symbol, symbol.Name)); 261this.Builder.Add(CreatePart(SymbolDisplayPartKind.EventName, symbol, 266this.Builder.Add(CreatePart(SymbolDisplayPartKind.EventName, symbol, symbol.Name)); 276Builder.Add(CreatePart(SymbolDisplayPartKind.NumericLiteral, symbol, "lambda expression")); 420Builder.Add(CreatePart(SymbolDisplayPartKind.MethodName, symbol, symbol.Name)); 427Builder.Add(CreatePart(SymbolDisplayPartKind.ExtensionMethodName, symbol, symbol.Name)); 471Builder.Add(CreatePart(partKind, symbol, name)); 481Builder.Add(CreatePart(partKind, symbol, symbol.Name)); 486Builder.Add(CreatePart(partKind, symbol, symbol.ContainingType.Name)); 516Builder.Add(CreatePart(SymbolDisplayPartKind.MethodName, symbol, 525Builder.Add(CreatePart(SymbolDisplayPartKind.MethodName, symbol, symbol.MetadataName)); 533Builder.Add(CreatePart(SymbolDisplayPartKind.MethodName, symbol, symbol.Name)); 546Builder.Add(CreatePart(SymbolDisplayPartKind.MethodName, symbol, symbol.MetadataName)); 554Builder.Add(CreatePart(SymbolDisplayPartKind.MethodName, symbol, symbol.Name)); 593Builder.Add(CreatePart(SymbolDisplayPartKind.ClassName, symbol, "Cdecl")); 596Builder.Add(CreatePart(SymbolDisplayPartKind.ClassName, symbol, "Stdcall")); 599Builder.Add(CreatePart(SymbolDisplayPartKind.ClassName, symbol, "Thiscall")); 602Builder.Add(CreatePart(SymbolDisplayPartKind.ClassName, symbol, "Fastcall")); 619Builder.Add(CreatePart(SymbolDisplayPartKind.ClassName, conventionType, conventionType.Name[CallConvLength..])); 702Builder.Add(CreatePart(SymbolDisplayPartKind.Operator, symbol, 850Builder.Add(CreatePart(kind, symbol, symbol.Name)); 1067this.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));