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