Base:
property
Name
Microsoft.CodeAnalysis.CSharp.Symbol.Name
13 overrides of Name
Microsoft.CodeAnalysis.CSharp (13)
Symbols\AnonymousTypes\PublicSymbols\AnonymousManager.TypeOrDelegatePublicSymbol.cs (1)
67public sealed override string Name
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TypeOrDelegateTemplateSymbol.cs (1)
145public sealed override string Name
Symbols\ErrorTypeSymbol.cs (1)
292public override string Name
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
1816public override string Name
Symbols\Source\SourceMemberContainerSymbol.cs (1)
971public override string Name
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListEnumeratorTypeSymbol.cs (1)
129public override string Name => "Enumerator";
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeSymbol.cs (1)
806public override string Name { get; }
Symbols\Synthesized\SynthesizedContainer.cs (1)
78public sealed override string Name { get; }
Symbols\Synthesized\SynthesizedEmbeddedAttributeSymbol.cs (1)
67public override string Name => _name;
Symbols\Synthesized\SynthesizedHotReloadExceptionSymbol.cs (1)
83public override string Name => TypeName;
Symbols\Synthesized\SynthesizedInlineArrayTypeSymbol.cs (1)
54public override string Name { get; }
Symbols\Synthesized\SynthesizedPrivateImplementationDetailsType.cs (1)
47public override string Name => _privateImplementationDetails.Name;
Symbols\Wrapped\WrappedNamedTypeSymbol.cs (1)
66public override string Name
49 references to Name
Microsoft.CodeAnalysis.CSharp (49)
Binder\Binder_Attributes.cs (1)
201attributeTypeForBinding.Name,
Binder\Binder_Conversions.cs (2)
1091collectionCreation = binder.BindClassCreationExpression(syntax, namedType.Name, syntax, namedType, analyzedArguments, diagnostics); 1139namedType.Name,
Binder\Binder_Crefs.cs (2)
604if (containerType.Name == memberName && (hasParameterList || containerType.Arity == 0 || !TypeSymbol.Equals(this.ContainingType, containerType.OriginalDefinition, TypeCompareKind.ConsiderEverything2))) 616if ((object?)binderContainingType != null && memberName == binderContainingType.Name)
Binder\Binder_Expressions.cs (2)
5567var creation = BindClassCreationExpression(node, type.Name, node, type, analyzedArguments, diagnostics); 6996coClassType.Name,
Binder\Binder_InterpolatedString.cs (1)
804diagnostics.Add(ErrorCode.ERR_InterpolatedStringHandlerCreationCannotUseDynamic, syntax.Location, interpolatedStringHandlerType.Name);
Binder\Binder_Operators.cs (1)
4743GetSpecialType(SpecialType.System_Object, diagnostics, node).Name // a pretty way of getting the string "Object"
Binder\Binder_Query.cs (1)
1028var 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)
3239Name: "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.IsExtension ? symbol.ExtensionName : symbol.Name);
Emitter\Model\NamedTypeSymbolAdapter.cs (1)
788string unsuffixedName = AdaptedNamedTypeSymbol.Name;
FlowAnalysis\NullableWalker.cs (2)
4880Debug.Assert(namedType.Name == "Span"); 4887Debug.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)
213&& modifierType.Name != "CallConv" 214&& modifierType.Name.StartsWith("CallConv", StringComparison.Ordinal)
Symbols\NamedTypeSymbol.cs (3)
499? MetadataHelpers.ComposeAritySuffixedMetadataName(Name, Arity, fileIdentifier) 500: Name; 1656Name == ValueTupleTypeName &&
Symbols\Source\SourceAssemblySymbol.cs (6)
1088if (x.Arity == y.Arity && x.Name == y.Name) 1093if (x.Arity != 0 || !x.ContainingNamespace.IsGlobalNamespace || x.Name != "<Module>") 1130int result = String.CompareOrdinal(x.Name, y.Name); 1265diagnostics.Add(ErrorCode.ERR_DuplicateAttributeInNetModule, NoLocation.Singleton, attribute.AttributeClass.Name, netModuleName);
Symbols\Source\SourceConstructorSymbol.cs (1)
161containingType.Name == syntax.Identifier.ValueText)
Symbols\Source\SourceConstructorSymbolBase.cs (1)
66ContainingType.Name == ((ConstructorDeclarationSyntax)this.SyntaxNode).Identifier.ValueText)
Symbols\Source\SourceMemberContainerSymbol.cs (3)
2172((ConstructorDeclarationSyntax)constructor.SyntaxRef.GetSyntax()).Identifier.ValueText != method1.ContainingType.Name) 2217"~" + method1.ContainingType.Name : 2218(method1.IsConstructor() ? method1.ContainingType.Name : method1.Name);
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
230diagnostics.Add(ErrorCode.ERR_ExtensionMethodsDecl, _location, ContainingType.Name);
Symbols\SubstitutedNamedTypeSymbol.cs (1)
197return 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 (6)
481switch (type.Name) 1371Name: "Span", 1384Name: "ReadOnlySpan", 2137return typeSymbol is NamedTypeSymbol { Name: WellKnownMemberNames.LockTypeName, Arity: 0, ContainingType: null } && 2145Name: "EmbeddedAttribute", 2181return type is NamedTypeSymbol { Name: "INumberBase", IsInterface: true, Arity: 1, ContainingType: null } &&
Symbols\Wrapped\WrappedNamedTypeSymbol.cs (1)
70return _underlyingType.Name;