38 overrides of Name
ILCompiler.Compiler (27)
Compiler\CompilerTypeSystemContext.InterfaceThunks.cs (1)
200public override Utf8Span Name
Compiler\ReachabilityInstrumentationProvider.cs (1)
243public override Utf8Span Name => "InitializeReachabilityInfo"u8;
IL\Stubs\StartupCode\NativeLibraryStartupMethod.cs (1)
44public override Utf8Span Name
IL\Stubs\StartupCode\StartupCodeMainMethod.cs (2)
49public override Utf8Span Name 234public override Utf8Span Name
parent\parent\Common\Compiler\CompilerTypeSystemContext.BoxedTypes.cs (2)
401public override Utf8Span Name 514public override Utf8Span Name
parent\parent\Common\Compiler\TypeMapMetadata.cs (1)
158public override Utf8Span Name => _name;
parent\parent\Common\TypeSystem\IL\Stubs\AssemblyGetExecutingAssemblyMethodThunk.cs (1)
42public override Utf8Span Name
parent\parent\Common\TypeSystem\IL\Stubs\AsyncResumptionStub.cs (1)
29public override Utf8Span Name => _targetMethod.Name;
parent\parent\Common\TypeSystem\IL\Stubs\CalliMarshallingMethodThunk.cs (1)
92public override Utf8Span Name
parent\parent\Common\TypeSystem\IL\Stubs\DelegateMarshallingMethodThunk.cs (1)
253public override Utf8Span Name
parent\parent\Common\TypeSystem\IL\Stubs\DelegateThunks.cs (7)
133public override Utf8Span Name 226public override Utf8Span Name 286public override Utf8Span Name 421public override Utf8Span Name 469public override Utf8Span Name 646public override Utf8Span Name 763public override Utf8Span Name
parent\parent\Common\TypeSystem\IL\Stubs\DynamicInvokeMethodThunk.cs (1)
125public override Utf8Span Name => "DynamicInvoke"u8;
parent\parent\Common\TypeSystem\IL\Stubs\ForwardDelegateCreationThunk.cs (1)
67public override Utf8Span Name
parent\parent\Common\TypeSystem\IL\Stubs\GetFieldHelperMethodOverride.cs (1)
221public override Utf8Span Name
parent\parent\Common\TypeSystem\IL\Stubs\MethodBaseGetCurrentMethodThunk.cs (1)
42public override Utf8Span Name
parent\parent\Common\TypeSystem\IL\Stubs\StructMarshallingThunk.cs (1)
128public override Utf8Span Name
parent\parent\Common\TypeSystem\IL\Stubs\TypeGetTypeMethodThunk.cs (1)
39public override Utf8Span Name
parent\parent\Common\TypeSystem\Interop\IL\InlineArrayType.cs (1)
329public override Utf8Span Name
parent\parent\Common\TypeSystem\Interop\IL\PInvokeDelegateWrapperConstructor.cs (1)
27public override Utf8Span Name
ILCompiler.ReadyToRun (4)
parent\parent\Common\Compiler\CompilerTypeSystemContext.BoxedTypes.cs (2)
401public override Utf8Span Name 514public override Utf8Span Name
parent\parent\Common\Compiler\TypeMapMetadata.cs (1)
158public override Utf8Span Name => _name;
parent\parent\Common\TypeSystem\IL\Stubs\AsyncResumptionStub.cs (1)
29public override Utf8Span Name => _targetMethod.Name;
ILCompiler.TypeSystem (7)
parent\parent\Common\TypeSystem\Common\ArrayType.cs (1)
304public override Utf8Span Name
parent\parent\Common\TypeSystem\Common\InstantiatedMethod.cs (1)
171public override Utf8Span Name
parent\parent\Common\TypeSystem\Common\MethodDelegator.cs (1)
33public override Utf8Span Name => _wrappedMethod.Name;
parent\parent\Common\TypeSystem\Common\MethodForInstantiatedType.cs (1)
158public override Utf8Span Name
parent\parent\Common\TypeSystem\Ecma\EcmaMethod.cs (1)
410public override unsafe Utf8Span Name
parent\parent\Common\TypeSystem\IL\Stubs\PInvokeTargetNativeMethod.cs (1)
59public override Utf8Span Name
parent\parent\Common\TypeSystem\RuntimeDetermined\MethodForRuntimeDeterminedType.cs (1)
41public override Utf8Span Name => _typicalMethodDef.Name;
133 references to Name
crossgen2 (2)
Program.cs (2)
860if (searchMethod.Name != method.Name)
ILCompiler.Compiler (76)
Compiler\Compilation.cs (4)
187if (intrinsicMethod.Signature.IsStatic && intrinsicMethod.Name == "GetType"u8) 199if (intrinsicMethod.Signature.IsStatic && intrinsicMethod.Name == "GetExecutingAssembly"u8) 211if (intrinsicMethod.Signature.IsStatic && intrinsicMethod.Name == "GetCurrentMethod"u8) 470if (owningType.IsDelegate && containingMethod.Name == "Invoke"u8)
Compiler\CompilerTypeSystemContext.InterfaceThunks.cs (1)
204return _targetMethod.Name;
Compiler\Dataflow\CompilerGeneratedCallGraph.cs (2)
33Debug.Assert(CompilerGeneratedNames.IsLambdaOrLocalFunction(toMethod.Name.AsSpan())); 50Debug.Assert(CompilerGeneratedNames.IsLambdaOrLocalFunction(toMethod.Name.AsSpan()));
Compiler\Dataflow\CompilerGeneratedState.cs (4)
142if (!CompilerGeneratedNames.IsLambdaOrLocalFunction(method.Name.AsSpan())) 199if (!CompilerGeneratedNames.IsLambdaOrLocalFunction(referencedMethod.Name.AsSpan())) 328Debug.Assert(CompilerGeneratedNames.IsLambdaOrLocalFunction(nestedFunction.Name.AsSpan())); 604if (member is MethodDesc method && CompilerGeneratedNames.IsLambdaOrLocalFunction(method.Name.AsSpan()))
Compiler\Dataflow\HandleCallAction.cs (1)
697foreach (var method in type.Type.GetMethodsOnTypeHierarchy(m => m.Name.StringEquals(name), bindingFlags))
Compiler\Dataflow\InterproceduralState.cs (1)
81Debug.Assert(!CompilerGeneratedNames.IsLambdaOrLocalFunction(stateMachineMethod.Name.AsSpan()));
Compiler\Dataflow\MethodBodyScanner.cs (1)
338if (!CompilerGeneratedNames.IsLambdaOrLocalFunction(method.Name.AsSpan()))
Compiler\DependencyAnalysis\EETypeNode.cs (4)
975Debug.Assert(!declType.IsObject || declMethod.Name != "Finalize"u8); 1000if ((declType.IsObject && (declMethod.Name == "Equals"u8 || declMethod.Name == "GetHashCode"u8) && implMethod.OwningType.IsWellKnownType(WellKnownType.ValueType)) 1001|| (declType.IsWellKnownType(WellKnownType.ValueType) && declMethod.Name == GetFieldHelperMethodOverride.MetadataName))
Compiler\DependencyAnalysis\InlineableStringsResourceNode.cs (1)
63if (method.Name == ResourceAccessorGetStringMethodName && method.OwningType is MetadataType mdType
Compiler\DependencyAnalysis\VTableSliceNode.cs (2)
45if (isObjectType && method.Name == "Finalize"u8) 206if (_type.IsObject && virtualMethod.Name == "Finalize"u8)
Compiler\HardwareIntrinsicHelpers.Aot.cs (1)
19return method.Name == "get_IsSupported"u8;
Compiler\Logging\DocumentationSignatureParser.cs (1)
588if (!method.Name.StringEquals(memberName))
Compiler\SubstitutedILProvider.cs (3)
825else if (method.IsIntrinsic && (method.Name == "get_IsValueType"u8 || method.Name == "get_IsEnum"u8) 1136if (!method.IsIntrinsic || method.Name != "GetTypeFromHandle"u8)
Compiler\TypePreinit.cs (2)
3296Debug.Assert(creationInfo.Constructor.Method.Name == "InitializeOpenStaticThunk"u8); 3313Debug.Assert(creationInfo.Constructor.Method.Name == "InitializeClosedInstance"u8);
Compiler\UserDefinedTypeDescriptor.cs (1)
237descriptor.Name = new Utf8String(method.Name.ToArray());
IL\ILImporter.Scanner.cs (14)
646if (method.OwningType.IsDelegate && method.Name == "Invoke"u8 && 749if (method.OwningType.IsObject && method.Name == "GetHashCode"u8) 1353Debug.Assert(_methodIL.OwningMethod.Name == "GetCanonType"u8); 1842if (method.IsIntrinsic && method.Name == "GetTypeFromHandle"u8) 1856if (method.IsIntrinsic && method.Name == "DefaultConstructorOf"u8 && method.Instantiation.Length == 1) 1870if (method.IsIntrinsic && method.Name == "AllocatorOf"u8 && method.Instantiation.Length == 1) 1884if (method.IsIntrinsic && method.Name == "Of"u8 && method.Instantiation.Length == 1) 1898if (method.IsIntrinsic && method.Name == "IsReferenceOrContainsReferences"u8 && method.Instantiation.Length == 1) 1912if (method.IsIntrinsic && method.Name == "GetArrayDataReference"u8 && method.Instantiation.Length == 1) 1926if (method.IsIntrinsic && method.Name == "Await"u8) 1946Utf8Span methodName = method.Name; 1966if (method.IsIntrinsic && method.Name == "ConfigureAwait"u8) 1986if (method.IsIntrinsic && method.Name == "AsTask"u8) 2003if (method.IsIntrinsic && method.Name == ".ctor"u8)
IL\RvaIntrinsicPatternAnalyzer.cs (2)
325return method.Name == "InitializeArray"u8 338if (method.Name == "CreateSpan"u8
IL\TypeEqualityPatternAnalyzer.cs (4)
148&& method.IsIntrinsic && method.Name == "GetTypeFromHandle"u8 153&& method.IsIntrinsic && method.Name == "op_Equality"u8 158&& method.IsIntrinsic && method.Name == "op_Inequality"u8 163&& method.IsIntrinsic && method.Name == "GetType"u8 && method.OwningType.IsObject;
parent\parent\Common\Compiler\CompilerTypeSystemContext.BoxedTypes.cs (2)
405return _targetMethod.Name.Append("_Unbox"u8); 518return _targetMethod.Name.Append("_Unbox"u8);
parent\parent\Common\Compiler\NativeAotNameMangler.cs (2)
560Utf8String name = SanitizeName(m.Name); 619utf8MangledName = SanitizeName(method.Name);
parent\parent\Common\Compiler\ProcessLinkerXmlBase.cs (1)
370if (method.Name.StringEquals(name))
parent\parent\Common\Compiler\TypeMapMetadata.cs (1)
170return Name.AsSpan().SequenceCompareTo(other.Name.AsSpan());
parent\parent\Common\TypeSystem\IL\NativeAotILProvider.cs (10)
61if (owningType.Namespace == "System.Diagnostics"u8 && method.Name == "DebugBreak"u8) 66if (owningType.Namespace == "Internal.Runtime.Augments"u8 && method.Name == "GetCanonType"u8) 71if (owningType.Namespace == "Internal.Runtime"u8 && method.Name == "get_SupportsRelativePointers"u8) 108if (method.Name == "CreateInstance"u8 && method.Signature.Length == 0 && method.HasInstantiation 133if (method.Name == "Create"u8 && owningType.Namespace == "System.Collections.Generic"u8) 138if (method.Name == "Create"u8 && owningType.Namespace == "System.Collections.Generic"u8) 146if (method.Name == "EnumOnlyCompare"u8) 179if (method.Name == "EnumOnlyEquals"u8) 214else if (method.Name == "GetComparerForReferenceTypesOnly"u8) 228else if (method.Name == "StructOnlyEquals"u8)
parent\parent\Common\TypeSystem\IL\Stubs\AsyncResumptionStub.cs (1)
29public override Utf8Span Name => _targetMethod.Name;
parent\parent\Common\TypeSystem\IL\Stubs\DelegateMethodILEmitter.cs (4)
20if (method.Name == "BeginInvoke"u8 || method.Name == "EndInvoke"u8) 30if (method.Name == ".ctor"u8) 45if (method.Name == "Invoke"u8)
parent\parent\Common\TypeSystem\IL\Stubs\InterlockedIntrinsics.cs (1)
26if (method.HasInstantiation && method.Name == "CompareExchange"u8)
parent\parent\Common\TypeSystem\IL\Stubs\MethodBaseGetCurrentMethodThunk.cs (1)
46return Method.Name;
parent\parent\Common\TypeSystem\IL\Stubs\PInvokeLazyFixupField.cs (1)
133return _targetMethod.Name;
parent\parent\Common\TypeSystem\IL\Stubs\RuntimeHelpersIntrinsics.cs (1)
33if (method.Name == "IsBitwiseEquatable"u8)
parent\parent\Common\TypeSystem\IL\Stubs\StreamIntrinsics.cs (2)
21bool isRead = method.Name == "HasOverriddenBeginEndRead"u8; 22if (!isRead && method.Name != "HasOverriddenBeginEndWrite"u8)
ILCompiler.ReadyToRun (30)
Compiler\DependencyAnalysis\ArrayInterfaceMethodsNode.cs (1)
62MethodDesc helperMethodDef = szArrayHelper.GetMethod(interfaceMethod.Name, null);
Compiler\ProfileDataManager.cs (1)
205bool isDelegateInvoke = targetMeth.OwningType.IsDelegate && targetMeth.Name == "Invoke"u8;
IBC\IBCProfileParser.cs (1)
413if (method.Name == methodName)
IL\ReadyToRunILProvider.cs (3)
55&& method.Name == "CreateInstance"u8) 128if (method.Name == "Create"u8) 133if (method.Name == "Create"u8)
IL\Stubs\InstanceCalliHelperIntrinsics.cs (1)
17if (method.Name.StartsWith("Invoke"u8))
JitInterface\CorInfoImpl.ReadyToRun.cs (6)
576methodNeedingCode.Name == "BeginInvoke"u8 || 577methodNeedingCode.Name == "Invoke"u8 || 578methodNeedingCode.Name == "EndInvoke"u8)) 2010if (constrainedType.IsEnum && originalMethod.Name == "GetHashCode"u8) 2185(targetMethod.OwningType.IsDelegate && targetMethod.Name == "Invoke"u8) || 2186(targetMethod.OwningType.IsObject && targetMethod.Name == "GetType"u8);
parent\parent\Common\Compiler\CompilerTypeSystemContext.BoxedTypes.cs (2)
405return _targetMethod.Name.Append("_Unbox"u8); 518return _targetMethod.Name.Append("_Unbox"u8);
parent\parent\Common\Compiler\NativeAotNameMangler.cs (2)
560Utf8String name = SanitizeName(m.Name); 619utf8MangledName = SanitizeName(method.Name);
parent\parent\Common\Compiler\ProcessLinkerXmlBase.cs (1)
370if (method.Name.StringEquals(name))
parent\parent\Common\Compiler\TypeMapMetadata.cs (1)
170return Name.AsSpan().SequenceCompareTo(other.Name.AsSpan());
parent\parent\Common\JitInterface\CorInfoImpl.cs (3)
1210if (method.OwningType.IsDelegate && method.Name == "Invoke"u8) 1919(owningMethod.Name == "CreateDefaultInstance"u8 && methodContext.Name == "CreateInstance"u8));
parent\parent\Common\TypeSystem\IL\Stubs\AsyncResumptionStub.cs (1)
29public override Utf8Span Name => _targetMethod.Name;
parent\parent\Common\TypeSystem\IL\Stubs\InterlockedIntrinsics.cs (1)
26if (method.HasInstantiation && method.Name == "CompareExchange"u8)
parent\parent\Common\TypeSystem\IL\Stubs\RuntimeHelpersIntrinsics.cs (1)
33if (method.Name == "IsBitwiseEquatable"u8)
PortableCallHelpers\InternalCallSignatureCollector.cs (3)
78$"Generic InternalCall method '{type}::{method.Name.ToString()}' has no single signature to generate a thunk from."); 87log.Verbose($"Adding InternalCall signature {signature} for method '{type}.{method.Name.ToString()}'"); 95throw new LogAsErrorException($"Could not get the signature for InternalCall method '{type}::{method.Name.ToString()}': {ex.Message}");
PortableCallHelpers\PInvokeCollector.cs (1)
185log.Verbose($"Adding {kind} signature {signature} for method '{method.OwningType}.{method.Name.ToString()}'");
PortableCallHelpers\PInvokeTableGenerator.cs (1)
327&& candidate.Name.StringEquals(cb.MethodName)
ILCompiler.RyuJit (4)
JitInterface\CorInfoImpl.RyuJit.cs (1)
1251if (method.OwningType.IsObject && method.Name == "GetHashCode"u8)
parent\parent\Common\JitInterface\CorInfoImpl.cs (3)
1210if (method.OwningType.IsDelegate && method.Name == "Invoke"u8) 1919(owningMethod.Name == "CreateDefaultInstance"u8 && methodContext.Name == "CreateInstance"u8));
ILCompiler.TypeSystem (21)
parent\parent\Common\TypeSystem\Common\InstantiatedMethod.cs (1)
175return _methodDef.Name;
parent\parent\Common\TypeSystem\Common\MetadataVirtualMethodAlgorithm.cs (7)
286MethodImplRecord[] foundMethodImpls = type.FindMethodsImplWithMatchingDeclName(decl.Name); 313MethodImplRecord[] foundMethodImpls = type.FindMethodsImplWithMatchingDeclName(decl.Name); 339MethodImplRecord[] foundMethodImplsOnDefinition = typeDefinition.FindMethodsImplWithMatchingDeclName(decl.Name); 383Utf8Span name = targetMethod.Name; 390if (candidate.Name == name) 899MethodImplRecord[] possibleImpls = currentMT.FindMethodsImplWithMatchingDeclName(interfaceMethod.Name); 1197MethodImplRecord[] possibleImpls = constrainedType.FindMethodsImplWithMatchingDeclName(interfaceMethod.Name);
parent\parent\Common\TypeSystem\Common\MethodDelegator.cs (1)
33public override Utf8Span Name => _wrappedMethod.Name;
parent\parent\Common\TypeSystem\Common\MethodDesc.cs (4)
530return OwningType.GetHashCode() ^ VersionResilientHashCode.NameHashCode(Name); 591return this.Name == ".ctor"u8; 631return System.Text.Encoding.UTF8.GetString(Name 763return (owningType.IsObject && Name == "Finalize"u8) || (owningType.HasFinalizer && owningType.GetFinalizer() == this);
parent\parent\Common\TypeSystem\Common\MethodForInstantiatedType.cs (1)
162return _typicalMethodDef.Name;
parent\parent\Common\TypeSystem\Common\TypeDesc.cs (2)
541if (method.Name == name) 554if (method.Name == name)
parent\parent\Common\TypeSystem\Common\TypeSystemContext.cs (2)
363^ VersionResilientHashCode.GenericInstanceHashCode(VersionResilientHashCode.NameHashCode(methodDef.Name), instantiation); 462_hashcode = instantiatedType.GetHashCode() ^ VersionResilientHashCode.NameHashCode(typicalMethodDef.Name);
parent\parent\Common\TypeSystem\IL\Stubs\PInvokeTargetNativeMethod.cs (1)
63return _declMethod.Name;
parent\parent\Common\TypeSystem\RuntimeDetermined\MethodForRuntimeDeterminedType.cs (1)
41public override Utf8Span Name => _typicalMethodDef.Name;
parent\parent\Common\TypeSystem\RuntimeDetermined\TypeSystemContext.RuntimeDetermined.cs (1)
80_hashcode = rdType.CanonicalType.GetHashCode() ^ VersionResilientHashCode.NameHashCode(typicalMethodDef.Name);