Base:
property
Name
Microsoft.CodeAnalysis.CSharp.Symbol.Name
13 overrides of Name
Microsoft.CodeAnalysis.CSharp (13)
Symbols\AnonymousTypes\PublicSymbols\AnonymousManager.TypeOrDelegatePublicSymbol.cs (1)
62public sealed override string Name
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TypeOrDelegateTemplateSymbol.cs (1)
140public sealed override string Name
Symbols\ErrorTypeSymbol.cs (1)
286public override string Name
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
1620public override string Name
Symbols\Source\SourceMemberContainerSymbol.cs (1)
963public override string Name
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListEnumeratorTypeSymbol.cs (1)
128public override string Name => "Enumerator";
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeSymbol.cs (1)
805public override string Name { get; }
Symbols\Synthesized\SynthesizedContainer.cs (1)
84public sealed override string Name { get; }
Symbols\Synthesized\SynthesizedEmbeddedAttributeSymbol.cs (1)
66public override string Name => _name;
Symbols\Synthesized\SynthesizedHotReloadExceptionSymbol.cs (1)
83public override string Name => TypeName;
Symbols\Synthesized\SynthesizedInlineArrayTypeSymbol.cs (1)
53public override string Name { get; }
Symbols\Synthesized\SynthesizedPrivateImplementationDetailsType.cs (1)
46public override string Name => _privateImplementationDetails.Name;
Symbols\Wrapped\WrappedNamedTypeSymbol.cs (1)
66public override string Name
45 references to Name
Microsoft.CodeAnalysis.CSharp (45)
Binder\Binder_Attributes.cs (1)
201attributeTypeForBinding.Name,
Binder\Binder_Conversions.cs (2)
1090collectionCreation = binder.BindClassCreationExpression(syntax, namedType.Name, syntax, namedType, analyzedArguments, diagnostics); 1138namedType.Name,
Binder\Binder_Crefs.cs (2)
421if (containerType.Name == memberName && (hasParameterList || containerType.Arity == 0 || !TypeSymbol.Equals(this.ContainingType, containerType.OriginalDefinition, TypeCompareKind.ConsiderEverything2))) 433if ((object?)binderContainingType != null && memberName == binderContainingType.Name)
Binder\Binder_Expressions.cs (2)
5514var creation = BindClassCreationExpression(node, type.Name, node, type, analyzedArguments, diagnostics); 6943coClassType.Name,
Binder\Binder_InterpolatedString.cs (1)
804diagnostics.Add(ErrorCode.ERR_InterpolatedStringHandlerCreationCannotUseDynamic, syntax.Location, interpolatedStringHandlerType.Name);
Binder\Binder_Operators.cs (1)
3316GetSpecialType(SpecialType.System_Object, diagnostics, node).Name // a pretty way of getting the string "Object"
Binder\Binder_Query.cs (1)
1044var result = BindClassCreationExpression(node, toCreate.Name, node, toCreate, analyzedArguments, diagnostics);
Binder\DecisionDagBuilder.cs (1)
331RoslynDebug.Assert(iTupleType.Name == "ITuple");
Binder\LockBinder.cs (1)
87if (scopeType is not NamedTypeSymbol { Name: WellKnownMemberNames.LockScopeTypeName, Arity: 0, IsValueType: true, IsRefLikeType: true, DeclaredAccessibility: Accessibility.Public } ||
Binder\Semantics\Conversions\ConversionsBase.cs (1)
3241Name: "IEquatable",
BoundTree\BoundInlineArrayAccess.cs (1)
27Name: "Index" or "Range",
CodeGen\EmitExpression.cs (1)
2488if (originalDef.ContainingType.Name == NamedTypeSymbol.ValueTupleTypeName &&
Compiler\ClsComplianceChecker.cs (1)
350this.AddDiagnostic(ErrorCode.ERR_AttributeNotOnAccessor, attributeLocation, attribute.AttributeClass.Name, attributeUsage.GetValidTargetsErrorArgument());
Compiler\MethodBodySynthesizer.cs (1)
243Debug.Assert(fieldType.Name == "EventRegistrationTokenTable");
DocumentationComments\DocumentationCommentIDVisitor.PartVisitor.cs (1)
184builder.Append(symbol.Name);
Emitter\Model\NamedTypeSymbolAdapter.cs (1)
782string unsuffixedName = AdaptedNamedTypeSymbol.Name;
FlowAnalysis\NullableWalker.cs (2)
4664Debug.Assert(namedType.Name == "Span"); 4671Debug.Assert(namedType.Name == "Span");
Lowering\LocalRewriter\LocalRewriter_Event.cs (1)
238Debug.Assert(fieldType.Name == "EventRegistrationTokenTable");
Symbols\Attributes\SourceAttributeData.cs (1)
477if (!attributeClass.Name.Equals(typeName))
Symbols\FunctionPointers\FunctionPointerTypeSymbol.cs (2)
211&& modifierType.Name != "CallConv" 212&& modifierType.Name.StartsWith("CallConv", StringComparison.Ordinal)
Symbols\NamedTypeSymbol.cs (3)
490? MetadataHelpers.ComposeAritySuffixedMetadataName(Name, Arity, fileIdentifier) 491: Name; 1641Name == ValueTupleTypeName &&
Symbols\Source\SourceAssemblySymbol.cs (6)
1087if (x.Arity == y.Arity && x.Name == y.Name) 1092if (x.Arity != 0 || !x.ContainingNamespace.IsGlobalNamespace || x.Name != "<Module>") 1129int result = String.CompareOrdinal(x.Name, y.Name); 1264diagnostics.Add(ErrorCode.ERR_DuplicateAttributeInNetModule, NoLocation.Singleton, attribute.AttributeClass.Name, netModuleName);
Symbols\Source\SourceConstructorSymbol.cs (1)
145containingType.Name == syntax.Identifier.ValueText)
Symbols\Source\SourceConstructorSymbolBase.cs (1)
65ContainingType.Name == ((ConstructorDeclarationSyntax)this.SyntaxNode).Identifier.ValueText)
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
228diagnostics.Add(ErrorCode.ERR_ExtensionMethodsDecl, _location, ContainingType.Name);
Symbols\SubstitutedNamedTypeSymbol.cs (1)
192return new List<string>(GetTypeMembersUnordered().Select(s => s.Name).Distinct());
Symbols\Synthesized\Records\SynthesizedRecordToString.cs (1)
66block.Add(makeAppendString(F, builderLocal, ContainingType.Name));
Symbols\TypeSymbolExtensions.cs (5)
480switch (type.Name) 1369Name: "Span", 1382Name: "ReadOnlySpan", 2136return typeSymbol is NamedTypeSymbol { Name: WellKnownMemberNames.LockTypeName, Arity: 0, ContainingType: null } && 2169return type is NamedTypeSymbol { Name: "INumberBase", IsInterface: true, Arity: 1, ContainingType: null } &&
Symbols\Wrapped\WrappedNamedTypeSymbol.cs (1)
70return _underlyingType.Name;