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