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