26 implementations of Name
Microsoft.CodeAnalysis (26)
CodeGen\ArrayMembers.cs (1)
298
public abstract string
Name
{ get; }
CodeGen\LocalConstantDefinition.cs (1)
36
public string
Name
{ get; }
CodeGen\LocalDefinition.cs (1)
138
public string?
Name
=> _nameOpt;
CodeGen\PrivateImplementationDetails.cs (3)
440
public string
Name
=> _name;
598
public string
Name
=> _alignment == 1 ?
684
public string
Name
=> _name;
CodeGen\SignatureOnlyLocalDefinition.cs (1)
72
public string?
Name
=> null;
Emit\CommonPEModuleBuilder.cs (1)
114
public abstract string
Name
{ get; }
Emit\EditAndContinue\DeletedPEMethodDefinition.cs (1)
32
public string?
Name
Emit\EditAndContinue\DeletedSourceGenericParameter.cs (1)
59
public string?
Name
=> OldDefinition.Name;
Emit\EditAndContinue\DeletedSourceMethodDefinition.cs (1)
101
public string?
Name
=> OldDefinition.Name;
Emit\EditAndContinue\DeletedSourceParameterDefinition.cs (1)
35
public string?
Name
=> OldDefinition.Name;
Emit\ErrorType.cs (2)
185
string Cci.INamedEntity.
Name
249
string Cci.INamedEntity.
Name
=> s_identity.Name;
Emit\NoPia\CommonEmbeddedEvent.cs (1)
184
string Cci.INamedEntity.
Name
Emit\NoPia\CommonEmbeddedField.cs (1)
191
string Cci.INamedEntity.
Name
Emit\NoPia\CommonEmbeddedMethod.cs (1)
259
string Cci.INamedEntity.
Name
=> Name;
Emit\NoPia\CommonEmbeddedParameter.cs (1)
224
string Cci.INamedEntity.
Name
Emit\NoPia\CommonEmbeddedProperty.cs (1)
212
string Cci.INamedEntity.
Name
Emit\NoPia\CommonEmbeddedType.cs (1)
689
string Cci.INamedEntity.
Name
Emit\NoPia\CommonEmbeddedTypeParameter.cs (1)
221
string Cci.INamedEntity.
Name
Emit\NoPia\VtblGap.cs (1)
189
string Cci.INamedEntity.
Name
PEWriter\InheritedTypeParameter.cs (1)
257
public string?
Name
PEWriter\ReturnValueParameter.cs (1)
102
public string
Name
PEWriter\RootModuleStaticConstructor.cs (1)
31
public string
Name
=> WellKnownMemberNames.StaticConstructorName;
PEWriter\RootModuleType.cs (1)
66
public string
Name
49 references to Name
Microsoft.CodeAnalysis (49)
CodeGen\PrivateImplementationDetails.cs (3)
348
return _synthesizedMethods.TryAdd(method.
Name
, method);
395
Debug.Assert(type.
Name
is { });
396
return _synthesizedTopLevelTypes.TryAdd(type.
Name
, type);
Emit\CommonPEModuleBuilder.cs (2)
812
NestedTypes.Select(t => t.
Name
).Distinct().Count() == NestedTypes.Count());
814
return NestedTypes?.OrderBy(t => t.
Name
, StringComparer.Ordinal);
Emit\EditAndContinue\DeletedSourceGenericParameter.cs (1)
59
public string? Name => OldDefinition.
Name
;
Emit\EditAndContinue\DeletedSourceMethodDefinition.cs (1)
101
public string? Name => OldDefinition.
Name
;
Emit\EditAndContinue\DeletedSourceParameterDefinition.cs (1)
35
public string? Name => OldDefinition.
Name
;
Emit\NoPia\CommonEmbeddedType.cs (1)
693
return UnderlyingNamedType.
Name
;
Emit\NoPia\EmbeddedTypesManager.cs (5)
111
prev.
Name
== current.
Name
)
141
if (namesOfTopLevelTypes.Contains(MetadataHelpers.BuildQualifiedName(def.NamespaceName, def.
Name
)))
185
result = string.Compare(dx.
Name
, dy.
Name
, StringComparison.Ordinal);
NativePdbWriter\PdbWriter.cs (4)
381
nestedNamesReversed.Add(nestedType.
Name
);
401
result.Builder.Append(namespaceType.
Name
);
510
scopeConstant.
Name
,
524
scopeLocal.
Name
,
NativePdbWriter\SymWriterMetadataProvider.cs (1)
73
methodName = m.
Name
;
PEWriter\CustomDebugInfoWriter.cs (3)
232
local.
Name
.Length < CustomDebugInfoEncoder.IdentifierSize;
234
(scope, local) => (local.
Name
, GetDynamicFlags(local), local.DynamicTransformFlags.Length, (local.SlotIndex < 0) ? 0 : local.SlotIndex));
250
(scope, local) => (local.
Name
, local.SlotIndex, scope.StartOffset, scope.EndOffset, local.TupleElementNames));
PEWriter\InheritedTypeParameter.cs (1)
259
get { return _parentParameter.
Name
; }
PEWriter\LocalScope.cs (2)
32
Debug.Assert(!locals.Any(l => l.
Name
== null));
33
Debug.Assert(!constants.Any(c => c.
Name
== null));
PEWriter\MemberRefComparer.cs (3)
36
if (x.
Name
!= y.
Name
)
60
int hash = Hash.Combine(memberRef.
Name
, _metadataWriter.GetMemberReferenceParent(memberRef).GetHashCode());
PEWriter\MetadataWriter.cs (15)
615
if (parDef.
Name
!= String.Empty ||
857
return MetadataTokens.AssemblyFileHandle(_fileRefIndex[mref.
Name
]);
913
string nameWithGeneration = (generation == 0) ? namedType.
Name
: namedType.
Name
+ "#" + generation;
1312
return GetModuleReferenceHandle(mref.
Name
);
1409
string name = localDefinition.
Name
;
2213
name: GetStringHandleForNameAndCheckLength(eventDef.
Name
, eventDef),
2379
name: GetStringHandleForNameAndCheckLength(fieldDef.
Name
, fieldDef),
2457
name: GetStringHandleForNameAndCheckLength(genericParameter.
Name
, genericParameter),
2482
StringHandle importName = entryPointName != null && entryPointName != methodDef.
Name
2484
: metadata.GetOrAddString(methodDef.
Name
); // Length checked while populating the method def table.
2582
name: GetStringHandleForNameAndCheckLength(memberRef.
Name
, memberRef),
2624
name: GetStringHandleForNameAndCheckLength(methodDef.
Name
, methodDef),
2748
name: GetStringHandleForNameAndCheckLength(parDef.
Name
, parDef));
2761
name: GetStringHandleForNameAndCheckLength(propertyDef.
Name
, propertyDef),
PEWriter\MetadataWriter.PortablePdb.cs (2)
112
name: _debugMetadataOpt.GetOrAddString(local.
Name
));
123
name: _debugMetadataOpt.GetOrAddString(constant.
Name
),
PEWriter\ReferenceIndexer.cs (1)
180
this.metadataWriter.GetModuleReferenceHandle(moduleReference.
Name
);
PEWriter\TypeNameSerializer.cs (3)
219
foreach (var ch in namedType.
Name
)
272
return @namespace.
Name
;
278
string name = @namespace.
Name
;