96 instantiations of MethodSignature
ILCompiler.Compiler (56)
Compiler\JitHelper.cs (2)
226new MethodSignature(MethodSignatureFlags.Static, 0, t, [t, t])); 233new MethodSignature(MethodSignatureFlags.Static, 0, t, [t, t]));
Compiler\ReachabilityInstrumentationProvider.cs (1)
273_signature ??= new MethodSignature(MethodSignatureFlags.Static, 0,
IL\ILImporter.Scanner.cs (3)
1125MethodSignature signature = new MethodSignature( 2060MethodSignature signature = new MethodSignature(MethodSignatureFlags.Static, 0, context.GetWellKnownType(WellKnownType.Void), [parameterType]); 2069MethodSignature signature = new MethodSignature(MethodSignatureFlags.Static, 1, signatureVariable, [parameterType]);
IL\Stubs\StartupCode\NativeLibraryStartupMethod.cs (1)
91_signature ??= new MethodSignature(MethodSignatureFlags.Static | MethodSignatureFlags.UnmanagedCallingConvention, 0,
IL\Stubs\StartupCode\StartupCodeMainMethod.cs (1)
179_signature ??= new MethodSignature(MethodSignatureFlags.Static | MethodSignatureFlags.UnmanagedCallingConvention, 0,
parent\parent\Common\Compiler\TypeMapMetadata.cs (1)
181public override MethodSignature Signature => new MethodSignature(MethodSignatureFlags.Static, 0, Context.GetWellKnownType(WellKnownType.Void), []);
parent\parent\Common\JitInterface\WasmLowering.cs (2)
30return new MethodSignature(MethodSignatureFlags.Static, 0, signature.Context.GetWellKnownType(WellKnownType.String), arguments); 545MethodSignature result = new MethodSignature(flags, 0, returnType, parameters.ToArray());
parent\parent\Common\TypeSystem\IL\NativeAotILProvider.cs (1)
157new MethodSignature(
parent\parent\Common\TypeSystem\IL\Stubs\AssemblyGetExecutingAssemblyMethodThunk.cs (1)
25Signature = new MethodSignature(MethodSignatureFlags.Static, 0,
parent\parent\Common\TypeSystem\IL\Stubs\AsyncResumptionStub.cs (1)
50return _signature = new MethodSignature(MethodSignatureFlags.Static, 0, objectType, [objectType, byrefByte]);
parent\parent\Common\TypeSystem\IL\Stubs\AsyncThunks.cs (4)
162MethodSignature fromExceptionSignature = new MethodSignature( 175MethodSignature fromExceptionSignature = new MethodSignature( 197MethodSignature createRuntimeAsyncTaskSignature = new MethodSignature( 210MethodSignature createRuntimeAsyncTaskSignature = new MethodSignature(
parent\parent\Common\TypeSystem\IL\Stubs\CalliMarshallingMethodThunk.cs (1)
81_signature = new MethodSignature(
parent\parent\Common\TypeSystem\IL\Stubs\DelegateMarshallingMethodThunk.cs (1)
209_signature = new MethodSignature(MethodSignatureFlags.Static | unmanagedCallingConvention, 0, nativeReturnType, nativeParameterTypes);
parent\parent\Common\TypeSystem\IL\Stubs\DelegateMethodILEmitter.cs (1)
89signature = new MethodSignature(signature.Flags, signature.GenericParameterCount, returnType, parameters);
parent\parent\Common\TypeSystem\IL\Stubs\DelegateThunks.cs (3)
219MethodSignature targetSignature = new MethodSignature(0, 0, Signature.ReturnType, parameters); 259var targetMethodSignature = new MethodSignature( 696_signature = new MethodSignature(0, 0, intPtrType, [ int32Type ]);
parent\parent\Common\TypeSystem\IL\Stubs\DynamicInvokeMethodThunk.cs (2)
54return new MethodSignature(flags, 0, NormalizeType(sig.ReturnType), parameters); 101_signature = new MethodSignature(
parent\parent\Common\TypeSystem\IL\Stubs\ForwardDelegateCreationThunk.cs (2)
58_signature ??= new MethodSignature(MethodSignatureFlags.Static, 0, 117new MethodSignature(MethodSignatureFlags.None,
parent\parent\Common\TypeSystem\IL\Stubs\GetFieldHelperMethodOverride.cs (1)
57_signature = new MethodSignature(0, 0, int32Type, [ int32Type, eeTypePtrType.MakeByRefType() ]);
parent\parent\Common\TypeSystem\IL\Stubs\InterlockedIntrinsics.cs (1)
60new MethodSignature(
parent\parent\Common\TypeSystem\IL\Stubs\MethodBaseGetCurrentMethodThunk.cs (1)
25Signature = new MethodSignature(MethodSignatureFlags.Static, 0,
parent\parent\Common\TypeSystem\IL\Stubs\PInvokeILEmitter.cs (5)
172MethodSignature managedSignature = new MethodSignature( 241MethodSignature nativeSig = new MethodSignature( 303MethodSignature nativeSig = new MethodSignature( 324MethodSignature nativeSig = new MethodSignature( 370MethodSignature nativeSig = new MethodSignature(
parent\parent\Common\TypeSystem\IL\Stubs\StructMarshallingThunk.cs (1)
103_signature = new MethodSignature(MethodSignatureFlags.Static, 0, Context.GetWellKnownType(WellKnownType.Void), parameters);
parent\parent\Common\TypeSystem\Interop\IL\InlineArrayType.cs (2)
360_signature = new MethodSignature(MethodSignatureFlags.None, 367_signature = new MethodSignature(MethodSignatureFlags.None,
parent\parent\Common\TypeSystem\Interop\IL\MarshalHelpers.Aot.cs (1)
124MethodSignature ctorSignature = new MethodSignature(0, 0, context.GetWellKnownType(WellKnownType.Void),
parent\parent\Common\TypeSystem\Interop\IL\Marshaller.Aot.cs (6)
979var sig = new MethodSignature( 1229new MethodSignature(MethodSignatureFlags.Static, 0, customMarshallerType, [ Context.GetWellKnownType(WellKnownType.String) ])); 1269new MethodSignature(MethodSignatureFlags.None, 0, Context.GetWellKnownType(WellKnownType.IntPtr), [ Context.GetWellKnownType(WellKnownType.Object) ])); 1298new MethodSignature(MethodSignatureFlags.None, 0, Context.GetWellKnownType(WellKnownType.Object), [ Context.GetWellKnownType(WellKnownType.IntPtr) ])); 1316new MethodSignature(MethodSignatureFlags.None, 0, Context.GetWellKnownType(WellKnownType.Void), [ Context.GetWellKnownType(WellKnownType.Object) ])); 1333new MethodSignature(MethodSignatureFlags.None, 0, Context.GetWellKnownType(WellKnownType.Void), [ Context.GetWellKnownType(WellKnownType.IntPtr) ]));
parent\parent\Common\TypeSystem\Interop\IL\Marshaller.cs (9)
1702new MethodSignature( 1844new MethodSignature(0, 0, Context.GetWellKnownType(WellKnownType.Void), 1896new MethodSignature(MethodSignatureFlags.None, genericParameterCount: 0, 1952new MethodSignature(0, 0, Context.GetWellKnownType(WellKnownType.Void), 1958new MethodSignature(0, 0, Context.GetWellKnownType(WellKnownType.IntPtr), TypeDesc.EmptyTypes)))); 1967new MethodSignature(0, 0, Context.GetWellKnownType(WellKnownType.Void), TypeDesc.EmptyTypes)))); 2001new MethodSignature(0, 0, Context.GetWellKnownType(WellKnownType.Void), 2061new MethodSignature(MethodSignatureFlags.Static, 1, Context.GetWellKnownType(WellKnownType.IntPtr), 2087new MethodSignature(MethodSignatureFlags.Static, 1, Context.GetSignatureVariable(0, method: true),
parent\parent\Common\TypeSystem\Interop\IL\PInvokeDelegateWrapperConstructor.cs (1)
48_signature ??= new MethodSignature(MethodSignatureFlags.None,
ILCompiler.ReadyToRun (26)
Compiler\ReadyToRunCodegenCompilation.cs (4)
1034asyncHelpers.GetKnownMethod("TransparentAwait"u8, new MethodSignature(MethodSignatureFlags.Static, 0, voidType, [taskType])), 1035asyncHelpers.GetKnownMethod("TransparentAwait"u8, new MethodSignature(MethodSignatureFlags.Static, 0, voidType, [valueTaskType])), 1036asyncHelpers.GetKnownMethod("TransparentAwait"u8, new MethodSignature(MethodSignatureFlags.Static, 1, methodVar, [taskOfTType.MakeInstantiatedType(methodVar)])), 1037asyncHelpers.GetKnownMethod("TransparentAwait"u8, new MethodSignature(MethodSignatureFlags.Static, 1, methodVar, [valueTaskOfTType.MakeInstantiatedType(methodVar)])),
IL\Stubs\PInvokeILEmitter.cs (1)
51MethodSignature nativeSig = new MethodSignature(
parent\parent\Common\Compiler\TypeMapMetadata.cs (1)
181public override MethodSignature Signature => new MethodSignature(MethodSignatureFlags.Static, 0, Context.GetWellKnownType(WellKnownType.Void), []);
parent\parent\Common\JitInterface\CorInfoImpl.cs (3)
3721MethodSignature signature = new MethodSignature(MethodSignatureFlags.Static, 0, context.GetWellKnownType(WellKnownType.Void), [parameterType]); 3731MethodSignature signature = new MethodSignature(MethodSignatureFlags.Static, 1, signatureVariable, [parameterType]); 3791MethodSignature signature = new MethodSignature(
parent\parent\Common\JitInterface\WasmLowering.cs (2)
30return new MethodSignature(MethodSignatureFlags.Static, 0, signature.Context.GetWellKnownType(WellKnownType.String), arguments); 545MethodSignature result = new MethodSignature(flags, 0, returnType, parameters.ToArray());
parent\parent\Common\TypeSystem\IL\Stubs\AsyncResumptionStub.cs (1)
50return _signature = new MethodSignature(MethodSignatureFlags.Static, 0, objectType, [objectType, byrefByte]);
parent\parent\Common\TypeSystem\IL\Stubs\AsyncThunks.cs (4)
162MethodSignature fromExceptionSignature = new MethodSignature( 175MethodSignature fromExceptionSignature = new MethodSignature( 197MethodSignature createRuntimeAsyncTaskSignature = new MethodSignature( 210MethodSignature createRuntimeAsyncTaskSignature = new MethodSignature(
parent\parent\Common\TypeSystem\IL\Stubs\InterlockedIntrinsics.cs (1)
60new MethodSignature(
parent\parent\Common\TypeSystem\Interop\IL\Marshaller.cs (9)
1702new MethodSignature( 1844new MethodSignature(0, 0, Context.GetWellKnownType(WellKnownType.Void), 1896new MethodSignature(MethodSignatureFlags.None, genericParameterCount: 0, 1952new MethodSignature(0, 0, Context.GetWellKnownType(WellKnownType.Void), 1958new MethodSignature(0, 0, Context.GetWellKnownType(WellKnownType.IntPtr), TypeDesc.EmptyTypes)))); 1967new MethodSignature(0, 0, Context.GetWellKnownType(WellKnownType.Void), TypeDesc.EmptyTypes)))); 2001new MethodSignature(0, 0, Context.GetWellKnownType(WellKnownType.Void), 2061new MethodSignature(MethodSignatureFlags.Static, 1, Context.GetWellKnownType(WellKnownType.IntPtr), 2087new MethodSignature(MethodSignatureFlags.Static, 1, Context.GetSignatureVariable(0, method: true),
ILCompiler.RyuJit (5)
parent\ILCompiler.Compiler\Compiler\JitHelper.cs (2)
226new MethodSignature(MethodSignatureFlags.Static, 0, t, [t, t])); 233new MethodSignature(MethodSignatureFlags.Static, 0, t, [t, t]));
parent\parent\Common\JitInterface\CorInfoImpl.cs (3)
3721MethodSignature signature = new MethodSignature(MethodSignatureFlags.Static, 0, context.GetWellKnownType(WellKnownType.Void), [parameterType]); 3731MethodSignature signature = new MethodSignature(MethodSignatureFlags.Static, 1, signatureVariable, [parameterType]); 3791MethodSignature signature = new MethodSignature(
ILCompiler.TypeSystem (9)
parent\parent\Common\TypeSystem\Common\ArrayType.cs (5)
242_signature = new MethodSignature(0, 0, _owningType.ElementType, parameters, MethodSignature.EmbeddedSignatureMismatchPermittedFlag); 251_signature = new MethodSignature(0, 0, this.Context.GetWellKnownType(WellKnownType.Void), parameters, MethodSignature.EmbeddedSignatureMismatchPermittedFlag); 259_signature = new MethodSignature(0, 0, _owningType.ElementType.MakeByRefType(), parameters, MethodSignature.EmbeddedSignatureMismatchPermittedFlag); 277_signature = new MethodSignature(0, 0, _owningType.ElementType.MakeByRefType(), parameters, MethodSignature.EmbeddedSignatureMismatchPermittedFlag); 295_signature = new MethodSignature(0, 0, this.Context.GetWellKnownType(WellKnownType.Void), argTypes, MethodSignature.EmbeddedSignatureMismatchPermittedFlag);
parent\parent\Common\TypeSystem\Common\MethodDesc.cs (2)
116return new MethodSignature(_flags, _genericParameterCount, returnTypeNew, newParameters, _embeddedSignatureData); 476_template = new MethodSignature(_flags, _genericParameterCount, _returnType, _parameters, _embeddedSignatureData);
parent\parent\Common\TypeSystem\Common\TypeSystemHelpers.cs (1)
89var sig = new MethodSignature(0, 0, type.Context.GetWellKnownType(WellKnownType.Void), TypeDesc.EmptyTypes);
parent\parent\Common\TypeSystem\Ecma\EcmaSignatureParser.cs (1)
449return new MethodSignature(flags, arity, returnType, parameters, embeddedSignatureDataArray);
393 references to MethodSignature
ilc (2)
parent\parent\Common\TypeSystem\IL\HelperExtensions.cs (2)
37public static MethodDesc GetCoreLibEntryPoint(this TypeSystemContext context, ReadOnlySpan<byte> namespaceName, ReadOnlySpan<byte> typeName, ReadOnlySpan<byte> methodName, MethodSignature signature) 74public static MethodDesc GetKnownMethod(this TypeDesc type, ReadOnlySpan<byte> name, MethodSignature signature)
ILCompiler.Compiler (160)
Compiler\Compilation.cs (1)
457public bool IsFatPointerCandidate(MethodDesc containingMethod, MethodSignature signature)
Compiler\CompilerTypeSystemContext.DynamicInvoke.cs (5)
11private sealed class DynamicInvokeThunkHashtable : LockFreeReaderHashtable<MethodSignature, DynamicInvokeMethodThunk> 13protected override bool CompareKeyToValue(MethodSignature key, DynamicInvokeMethodThunk value) => key.Equals(value.TargetSignature); 15protected override int GetKeyHashCode(MethodSignature key) => key.GetHashCode(); 17protected override DynamicInvokeMethodThunk CreateValueFromKey(MethodSignature key) 25public MethodDesc GetDynamicInvokeThunk(MethodSignature signature, bool valueTypeInstanceMethod)
Compiler\CompilerTypeSystemContext.InterfaceThunks.cs (1)
196public override MethodSignature Signature => _targetMethod.Signature;
Compiler\Dataflow\FlowAnnotations.cs (1)
408MethodSignature signature;
Compiler\Dataflow\MethodBodyScanner.cs (2)
740var signature = (MethodSignature)methodIL.GetObject(reader.ReadILToken());
Compiler\DependencyAnalysis\AddressTakenMethodNode.cs (1)
35public override MethodSignature Signature => Method.Signature;
Compiler\DependencyAnalysis\CallingConventionConverterKey.cs (3)
12public static void AppendName(this MethodSignature signature, StringBuilder nameBuilder, UniqueTypeNameFormatter typeNameFormatter) 35public static string GetName(this MethodSignature signature) 74MethodSignature signature = type.Signature;
Compiler\DependencyAnalysis\EETypeNode.cs (1)
1203MethodSignature sig = ((FunctionPointerType)_type).Signature;
Compiler\DependencyAnalysis\JumpStubNode.cs (1)
25public abstract MethodSignature Signature { get; }
Compiler\DependencyAnalysis\MethodMetadataNode.cs (1)
58MethodSignature sig = _method.Signature;
Compiler\DependencyAnalysis\NativeLayoutVertexNode.cs (2)
256private Internal.TypeSystem.MethodSignature _signature; 262public NativeLayoutMethodSignatureVertexNode(NodeFactory factory, Internal.TypeSystem.MethodSignature signature)
Compiler\DependencyAnalysis\NodeFactory.NativeLayout.cs (4)
35_methodSignatures = new NodeCache<MethodSignature, NativeLayoutMethodSignatureVertexNode>(signature => 179MethodSignature sig = ((FunctionPointerType)type).Signature; 220private NodeCache<MethodSignature, NativeLayoutMethodSignatureVertexNode> _methodSignatures; 221internal NativeLayoutMethodSignatureVertexNode MethodSignatureVertex(MethodSignature signature)
Compiler\DependencyAnalysis\ReflectionInvokeMapNode.cs (1)
54var signature = method.Signature;
Compiler\DependencyAnalysis\ReflectionInvokeSupportDependencyAlgorithm.cs (1)
31MethodSignature sig = method.Signature;
Compiler\LibraryRootProvider.cs (1)
86MethodSignature signature = method.Signature;
Compiler\Logging\DocumentationSignatureParser.cs (1)
705private static bool AllParametersMatch(MethodSignature methodParameters, List<string> expectedParameters)
Compiler\MetadataManager.cs (2)
23using MethodSignature = Internal.TypeSystem.MethodSignature; 1185MethodSignature pointerSignature = ((FunctionPointerType)type).Signature;
Compiler\ReachabilityInstrumentationProvider.cs (2)
233private MethodSignature _signature; 269public override MethodSignature Signature
Compiler\TypePreinit.cs (3)
482MethodSignature methodSig = method.Signature; 554MethodSignature ctorSig = ctor.Signature; 1981var sig = method.Signature;
Compiler\UserDefinedTypeDescriptor.cs (1)
193MethodSignature signature = method.Signature;
IL\ILImporter.Scanner.cs (6)
517MethodSignature sig = ctorMethod.GetTypicalMethodDefinition().Signature; 1125MethodSignature signature = new MethodSignature( 1165MethodSignature signature = (MethodSignature)_methodIL.GetObject(token); 2060MethodSignature signature = new MethodSignature(MethodSignatureFlags.Static, 0, context.GetWellKnownType(WellKnownType.Void), [parameterType]); 2069MethodSignature signature = new MethodSignature(MethodSignatureFlags.Static, 1, signatureVariable, [parameterType]);
IL\RvaIntrinsicPatternAnalyzer.cs (2)
324MethodSignature signature = method.Signature; 337MethodSignature signature = method.Signature;
IL\Stubs\PInvokeILProvider.cs (1)
35public MethodDesc GetCalliStub(MethodSignature signature, ModuleDesc moduleContext)
IL\Stubs\StartupCode\NativeLibraryStartupMethod.cs (2)
19private MethodSignature _signature; 87public override MethodSignature Signature
IL\Stubs\StartupCode\StartupCodeMainMethod.cs (3)
21private MethodSignature _signature; 175public override MethodSignature Signature 250public override MethodSignature Signature
parent\parent\Common\Compiler\AsyncMethodVariant.cs (7)
16private MethodSignature _asyncSignature; 26public override MethodSignature Signature 34private MethodSignature InitializeSignature() 36var signature = _wrappedMethod.Signature; 84private MethodSignature _voidSignature; 95public override MethodSignature Signature 103private MethodSignature InitializeSignature()
parent\parent\Common\Compiler\CompilerTypeSystemContext.BoxedTypes.cs (2)
393public override MethodSignature Signature => _targetMethod.Signature; 506public override MethodSignature Signature => _targetMethod.Signature;
parent\parent\Common\Compiler\CompilerTypeSystemContext.Validation.cs (2)
227MethodSignature sig = method.Signature; 311var functionPointer = ((FunctionPointerType)type).Signature;
parent\parent\Common\Compiler\DependencyAnalysis\INodeWithTypeSignature.cs (2)
9MethodSignature Signature { get; } 17MethodSignature INodeWithTypeSignature.Signature => Method.Signature;
parent\parent\Common\Compiler\DisplayNameHelpers.cs (1)
181MethodSignature signature = type.Signature;
parent\parent\Common\Compiler\MethodExtensions.cs (1)
157public static bool ReturnsTaskOrValueTask(this MethodSignature method)
parent\parent\Common\Compiler\NativeAotNameMangler.cs (1)
518var signature = prefixMangledSignature.BaseSignature;
parent\parent\Common\Compiler\ObjectWriter\TypeString.cs (1)
44MethodSignature signature = type.Signature;
parent\parent\Common\Compiler\TypeMapMetadata.cs (1)
181public override MethodSignature Signature => new MethodSignature(MethodSignatureFlags.Static, 0, Context.GetWellKnownType(WellKnownType.Void), []);
parent\parent\Common\Internal\Runtime\EETypeBuilderHelpers.cs (1)
159MethodSignature sig = ((FunctionPointerType)type).Signature;
parent\parent\Common\JitInterface\WasmLowering.cs (6)
18public static MethodSignature GetStringCtorActualSignature(MethodSignature signature) 444public static MethodSignature RaiseSignature(WasmSignature wasmSignature, TypeSystemContext context) 545MethodSignature result = new MethodSignature(flags, 0, returnType, parameters.ToArray()); 584public static unsafe WasmSignature GetSignature(MethodSignature signature, CORINFO_SIG_INFO* callSig) 654public static WasmSignature GetSignature(MethodSignature signature, LoweringFlags flags)
parent\parent\Common\TypeSystem\IL\DelegateInfo.cs (4)
70public MethodSignature Signature 137MethodSignature delegateSignature = owningDelegate.Signature; 159public bool SignatureSupportsOpenInstanceThunks(MethodSignature signature) 184public bool SignatureSupportsObjectArrayThunk(MethodSignature signature)
parent\parent\Common\TypeSystem\IL\HelperExtensions.cs (2)
37public static MethodDesc GetCoreLibEntryPoint(this TypeSystemContext context, ReadOnlySpan<byte> namespaceName, ReadOnlySpan<byte> typeName, ReadOnlySpan<byte> methodName, MethodSignature signature) 74public static MethodDesc GetKnownMethod(this TypeDesc type, ReadOnlySpan<byte> name, MethodSignature signature)
parent\parent\Common\TypeSystem\IL\Stubs\AssemblyGetExecutingAssemblyMethodThunk.cs (1)
63public override MethodSignature Signature
parent\parent\Common\TypeSystem\IL\Stubs\AsyncResumptionStub.cs (3)
20private MethodSignature _signature; 34public override MethodSignature Signature => _signature ??= InitializeSignature(); 46private MethodSignature InitializeSignature()
parent\parent\Common\TypeSystem\IL\Stubs\AsyncThunks.cs (6)
25MethodSignature sig = taskReturningMethod.Signature; 162MethodSignature fromExceptionSignature = new MethodSignature( 175MethodSignature fromExceptionSignature = new MethodSignature( 197MethodSignature createRuntimeAsyncTaskSignature = new MethodSignature( 210MethodSignature createRuntimeAsyncTaskSignature = new MethodSignature( 273MethodSignature sig = returnDroppingMethod.Signature;
parent\parent\Common\TypeSystem\IL\Stubs\CalliMarshallingMethodThunk.cs (6)
16private readonly MethodSignature _targetSignature; 20private MethodSignature _signature; 22public CalliMarshallingMethodThunk(MethodSignature targetSignature, TypeDesc owningType, 32public MethodSignature TargetSignature 56public override MethodSignature Signature 73index = MethodSignature.GetIndexOfCustomModifierOnTypeByParameterIndex(parameterTypes.Length),
parent\parent\Common\TypeSystem\IL\Stubs\CalliMarshallingMethodThunk.Mangling.cs (1)
13MethodSignature IPrefixMangledSignature.BaseSignature
parent\parent\Common\TypeSystem\IL\Stubs\DelegateMarshallingMethodThunk.cs (4)
31private MethodSignature _signature; // signature of the native callable marshalling stub 123public override MethodSignature Signature 146MethodSignature delegateSignature = _invokeMethod.Signature; 226public MethodSignature DelegateSignature
parent\parent\Common\TypeSystem\IL\Stubs\DelegateMethodILEmitter.cs (1)
58MethodSignature signature = method.Signature;
parent\parent\Common\TypeSystem\IL\Stubs\DelegateThunks.cs (5)
46public sealed override MethodSignature Signature 219MethodSignature targetSignature = new MethodSignature(0, 0, Signature.ReturnType, parameters); 259var targetMethodSignature = new MethodSignature( 663private MethodSignature _signature; 686public override MethodSignature Signature
parent\parent\Common\TypeSystem\IL\Stubs\DynamicInvokeMethodThunk.cs (7)
22private MethodSignature _targetSignature; 23private MethodSignature _signature; 25public DynamicInvokeMethodThunk(TypeDesc owningType, MethodSignature targetSignature) 36public static MethodSignature NormalizeSignature(MethodSignature sig, bool valueTypeInstanceMethod) 92public override MethodSignature Signature 129public MethodSignature TargetSignature => _targetSignature;
parent\parent\Common\TypeSystem\IL\Stubs\DynamicInvokeMethodThunk.Mangling.cs (1)
11MethodSignature IPrefixMangledSignature.BaseSignature
parent\parent\Common\TypeSystem\IL\Stubs\ForwardDelegateCreationThunk.cs (2)
20private MethodSignature _signature; 54public override MethodSignature Signature
parent\parent\Common\TypeSystem\IL\Stubs\GetFieldHelperMethodOverride.cs (2)
24private MethodSignature _signature; 47public override MethodSignature Signature
parent\parent\Common\TypeSystem\IL\Stubs\MethodBaseGetCurrentMethodThunk.cs (1)
66public override MethodSignature Signature
parent\parent\Common\TypeSystem\IL\Stubs\PInvokeILEmitter.cs (6)
52MethodSignature methodSig; 172MethodSignature managedSignature = new MethodSignature( 241MethodSignature nativeSig = new MethodSignature( 303MethodSignature nativeSig = new MethodSignature( 324MethodSignature nativeSig = new MethodSignature( 370MethodSignature nativeSig = new MethodSignature(
parent\parent\Common\TypeSystem\IL\Stubs\PInvokeLazyFixupField.cs (3)
22private readonly MethodSignature _nativeSignature; 24public PInvokeLazyFixupField(MetadataType owningType, MethodDesc targetMethod, MethodSignature nativeSignature) 40public MethodSignature NativeSignature
parent\parent\Common\TypeSystem\IL\Stubs\StructMarshallingThunk.cs (2)
72private MethodSignature _signature; 73public override MethodSignature Signature
parent\parent\Common\TypeSystem\IL\Stubs\TypeGetTypeMethodThunk.cs (3)
22public TypeGetTypeMethodThunk(TypeDesc owningType, MethodSignature signature, MethodDesc helperMethod, string defaultAssemblyName) 60public override MethodSignature Signature 176MethodSignature signature = key.GetTypeOverload.Signature;
parent\parent\Common\TypeSystem\Interop\IL\InlineArrayType.cs (2)
305private MethodSignature _signature; 352public override MethodSignature Signature
parent\parent\Common\TypeSystem\Interop\IL\MarshalHelpers.Aot.cs (1)
124MethodSignature ctorSignature = new MethodSignature(0, 0, context.GetWellKnownType(WellKnownType.Void),
parent\parent\Common\TypeSystem\Interop\IL\MarshalHelpers.cs (2)
192string customModifierIndex = MethodSignature.GetIndexOfCustomModifierOnPointedAtTypeByParameterIndex(parameterIndex.Value); 989public static bool IsMarshallingRequired(MethodSignature methodSig, ModuleDesc moduleContext)
parent\parent\Common\TypeSystem\Interop\IL\Marshaller.Aot.cs (1)
979var sig = new MethodSignature(
parent\parent\Common\TypeSystem\Interop\IL\Marshaller.cs (4)
388MethodSignature methodSig, 456public static Marshaller[] GetMarshallersForSignature(MethodSignature methodSig, ParameterMetadata[] paramMetadata, ModuleDesc moduleContext) 494public static bool IsMarshallingRequired(MethodSignature methodSig, ModuleDesc moduleContext) 506public static bool IsMarshallingRequired(MethodSignature methodSig, ParameterMetadata[] paramMetadata, ModuleDesc moduleContext)
parent\parent\Common\TypeSystem\Interop\IL\PInvokeDelegateWrapperConstructor.cs (2)
43private MethodSignature _signature; 44public override MethodSignature Signature
parent\parent\Common\TypeSystem\Interop\InteropStateManager.cs (5)
183public FieldDesc GetPInvokeLazyFixupField(MethodDesc method, MethodSignature nativeSig) 188public MethodDesc GetPInvokeCalliStub(MethodSignature signature, ModuleDesc moduleContext) 452public readonly MethodSignature NativeSignature; 453public PInvokeLazyFixupFieldKey(MethodDesc method, MethodSignature nativeSignature) 492private readonly record struct CalliMarshallingMethodThunkKey(MethodSignature Signature, bool RuntimeMarshallingEnabled);
parent\parent\Common\TypeSystem\Interop\UnmanagedCallingConventions.cs (3)
51public static UnmanagedCallingConventions GetStandaloneMethodSignatureCallingConventions(this MethodSignature signature) 76if (data.index != MethodSignature.IndexOfCustomModifiersOnReturnType) 268index = MethodSignature.IndexOfCustomModifiersOnReturnType,
parent\parent\Common\TypeSystem\MetadataEmitter\TypeSystemMetadataEmitter.cs (5)
171case MethodSignature methodSignature: return GetStandaloneSig(methodSignature); 245private BlobHandle GetMethodSignatureBlobHandle(MethodSignature sig) 289public EntityHandle GetStandaloneSig(MethodSignature sig) 320var sig = method.GetTypicalMethodDefinition().Signature; 658private void EncodeMethodSignature(BlobBuilder signatureBuilder, MethodSignature sig, EmbeddedSignatureDataEmitter signatureDataEmitter)
src\runtime\src\coreclr\tools\Common\Compiler\GenericCycleDetection\GraphBuilder.cs (1)
325MethodSignature methodSig = method.Signature;
ILCompiler.MetadataTransform (6)
ILCompiler\Metadata\MetadataTransform.cs (1)
75public abstract MethodSignature HandleMethodSignature(Cts.MethodSignature signature);
ILCompiler\Metadata\Transform.cs (1)
41Cts.MethodSignature pointerSignature = ((Cts.FunctionPointerType)type).Signature;
ILCompiler\Metadata\Transform.CustomAttribute.cs (1)
53Cts.MethodSignature sig = constructor.Signature;
ILCompiler\Metadata\Transform.Method.cs (3)
79Cts.MethodSignature sig = entity.Signature; 159public override MethodSignature HandleMethodSignature(Cts.MethodSignature signature) 237private static SignatureCallingConvention GetSignatureCallingConvention(Cts.MethodSignature signature)
ILCompiler.ReadyToRun (101)
Compiler\DependencyAnalysis\ReadyToRun\GCRefMapBuilder.cs (1)
73internal static (ArgIterator<TypeHandle>, TransitionBlock) BuildArgIterator(MethodSignature signature, TypeSystemContext context, bool methodRequiresInstArg = false, bool isUnboxingStub = false, bool methodIsArrayAddressMethod = false, bool methodIsStringConstructor = false, bool methodIsAsyncCall = false)
Compiler\DependencyAnalysis\ReadyToRun\TypeValidationChecker.cs (2)
174var getSignature = method.Signature; 682static bool ValidateVarianceInSignature(Instantiation associatedTypeInstantiation, MethodSignature signature, Internal.TypeSystem.GenericVariance returnTypePosition, Internal.TypeSystem.GenericVariance argTypePosition)
Compiler\DependencyAnalysis\ReadyToRun\WasmImportThunk.cs (2)
81MethodSignature INodeWithTypeSignature.Signature => WasmLowering.RaiseSignature(_wasmSignature, _context); 144MethodSignature methodSignature = WasmLowering.RaiseSignature(_wasmSignature, _context);
Compiler\DependencyAnalysis\ReadyToRun\WasmImportThunkPortableEntrypoint.cs (1)
111MethodSignature signature = method.Signature;
Compiler\DependencyAnalysis\ReadyToRun\WasmInterpreterToR2RThunkNode.cs (2)
39MethodSignature INodeWithTypeSignature.Signature => WasmLowering.RaiseSignature(sigForInterpToR2RThunks, _context); 118MethodSignature methodSignature = WasmLowering.RaiseSignature(_wasmSignature, _context);
Compiler\DependencyAnalysis\ReadyToRun\WasmR2RToInterpreterThunkNode.cs (2)
48MethodSignature INodeWithTypeSignature.Signature => WasmLowering.RaiseSignature(_wasmSignature, _context); 126MethodSignature methodSignature = WasmLowering.RaiseSignature(_wasmSignature, _context);
Compiler\DependencyAnalysis\ReadyToRun\WasmUnboxingStubNode.cs (1)
42MethodSignature INodeWithTypeSignature.Signature => WasmLowering.RaiseSignature(_signature, _context);
Compiler\DependencyAnalysis\ReadyToRun\WasmVirtualDispatchThunkNode.cs (2)
40MethodSignature INodeWithTypeSignature.Signature => WasmLowering.RaiseSignature(_wasmSignature, _context); 116MethodSignature methodSignature = WasmLowering.RaiseSignature(_wasmSignature, _context);
Compiler\ProfileDataManager.cs (4)
261private List<TypeSystemEntityOrUnknown> SampleMethodsCompatibleWithDelegateInvocation(MethodSignature delegateSignature, Random rand) 412private readonly Dictionary<MethodSignature, List<MethodDesc>> _delegateTargets; 417Dictionary<MethodSignature, HashSet<MethodDesc>> delegateTargets = new(); 493public IList<MethodDesc> GetCompatibleWithDelegateInvoke(MethodSignature delegateInvokeSignature)
Compiler\ReadyToRunCompilationModuleGroupBase.cs (1)
840MethodSignature ptrSignature = ((FunctionPointerType)type).Signature;
Compiler\ReadyToRunLibraryRootProvider.cs (1)
90MethodSignature signature = method.Signature;
Compiler\ReadyToRunTypeMapEncoding.cs (1)
39MethodSignature signature = ((FunctionPointerType)type).Signature;
IL\Stubs\InstanceCalliHelperIntrinsics.cs (1)
49if (item is MethodSignature sig)
IL\Stubs\PInvokeILEmitter.cs (2)
51MethodSignature nativeSig = new MethodSignature( 59static PInvokeTargetNativeMethod AllocateTargetNativeMethod(MethodDesc targetMethod, MethodSignature nativeSigArg)
JitInterface\CorInfoImpl.ReadyToRun.cs (9)
2434private static bool MethodSignatureIsUnstable(MethodSignature methodSig, out string unstableMessage) 2462private void VerifyMethodSignatureIsStable(MethodSignature methodSig) 2706MethodSignature signature = functionPointerType.Signature; 3476var sig = HandleToObject(callSiteSig->methodSignature); 3484var signature = (MethodSignature)methodIL.GetObject((int)pResolvedToken.token); 3748private void ValidateSafetyOfUsingTypeEquivalenceInSignature(MethodSignature signature) 3792var sig = HandleToObject(callSig->methodSignature); 3810var sig = HandleToObject(callSig->methodSignature);
parent\parent\Common\Compiler\AsyncMethodVariant.cs (7)
16private MethodSignature _asyncSignature; 26public override MethodSignature Signature 34private MethodSignature InitializeSignature() 36var signature = _wrappedMethod.Signature; 84private MethodSignature _voidSignature; 95public override MethodSignature Signature 103private MethodSignature InitializeSignature()
parent\parent\Common\Compiler\CompilerTypeSystemContext.BoxedTypes.cs (2)
393public override MethodSignature Signature => _targetMethod.Signature; 506public override MethodSignature Signature => _targetMethod.Signature;
parent\parent\Common\Compiler\CompilerTypeSystemContext.Validation.cs (2)
227MethodSignature sig = method.Signature; 311var functionPointer = ((FunctionPointerType)type).Signature;
parent\parent\Common\Compiler\DependencyAnalysis\INodeWithTypeSignature.cs (2)
9MethodSignature Signature { get; } 17MethodSignature INodeWithTypeSignature.Signature => Method.Signature;
parent\parent\Common\Compiler\DisplayNameHelpers.cs (1)
181MethodSignature signature = type.Signature;
parent\parent\Common\Compiler\MethodExtensions.cs (1)
157public static bool ReturnsTaskOrValueTask(this MethodSignature method)
parent\parent\Common\Compiler\NativeAotNameMangler.cs (1)
518var signature = prefixMangledSignature.BaseSignature;
parent\parent\Common\Compiler\ObjectWriter\TypeString.cs (1)
44MethodSignature signature = type.Signature;
parent\parent\Common\Compiler\TypeMapMetadata.cs (1)
181public override MethodSignature Signature => new MethodSignature(MethodSignatureFlags.Static, 0, Context.GetWellKnownType(WellKnownType.Void), []);
parent\parent\Common\JitInterface\CorInfoImpl.cs (15)
194private bool HasSecretStubArgument(MethodSignature signature, int parameterIndex) 799private MethodSignature HandleToObject(MethodSignatureInfo* method) => (MethodSignature)HandleToObject((void*)method); 800private MethodSignatureInfo* ObjectToHandle(MethodSignature method) => (MethodSignatureInfo*)ObjectToHandle((object)method); 920private void Get_CORINFO_SIG_INFO(MethodSignature signature, CORINFO_SIG_INFO* sig, MethodILScope scope) 1804private static CorInfoCallConvExtension GetUnmanagedCallConv(MethodSignature signature, out bool suppressGCTransition) 2141var methodSig = (MethodSignature)methodIL.GetObject((int)sigTOK); 3517MethodSignature methodSig = sigObj as MethodSignature; 3558MethodSignature methodSig = sigObj as MethodSignature; 3721MethodSignature signature = new MethodSignature(MethodSignatureFlags.Static, 0, context.GetWellKnownType(WellKnownType.Void), [parameterType]); 3731MethodSignature signature = new MethodSignature(MethodSignatureFlags.Static, 1, signatureVariable, [parameterType]); 3791MethodSignature signature = new MethodSignature(
parent\parent\Common\JitInterface\JitTypeNameFormatter.cs (1)
45MethodSignature signature = type.Signature;
parent\parent\Common\JitInterface\WasmLowering.cs (6)
18public static MethodSignature GetStringCtorActualSignature(MethodSignature signature) 444public static MethodSignature RaiseSignature(WasmSignature wasmSignature, TypeSystemContext context) 545MethodSignature result = new MethodSignature(flags, 0, returnType, parameters.ToArray()); 584public static unsafe WasmSignature GetSignature(MethodSignature signature, CORINFO_SIG_INFO* callSig) 654public static WasmSignature GetSignature(MethodSignature signature, LoweringFlags flags)
parent\parent\Common\TypeSystem\IL\HelperExtensions.cs (2)
37public static MethodDesc GetCoreLibEntryPoint(this TypeSystemContext context, ReadOnlySpan<byte> namespaceName, ReadOnlySpan<byte> typeName, ReadOnlySpan<byte> methodName, MethodSignature signature) 74public static MethodDesc GetKnownMethod(this TypeDesc type, ReadOnlySpan<byte> name, MethodSignature signature)
parent\parent\Common\TypeSystem\IL\Stubs\AsyncResumptionStub.cs (3)
20private MethodSignature _signature; 34public override MethodSignature Signature => _signature ??= InitializeSignature(); 46private MethodSignature InitializeSignature()
parent\parent\Common\TypeSystem\IL\Stubs\AsyncThunks.cs (6)
25MethodSignature sig = taskReturningMethod.Signature; 162MethodSignature fromExceptionSignature = new MethodSignature( 175MethodSignature fromExceptionSignature = new MethodSignature( 197MethodSignature createRuntimeAsyncTaskSignature = new MethodSignature( 210MethodSignature createRuntimeAsyncTaskSignature = new MethodSignature( 273MethodSignature sig = returnDroppingMethod.Signature;
parent\parent\Common\TypeSystem\Interop\IL\MarshalHelpers.cs (2)
192string customModifierIndex = MethodSignature.GetIndexOfCustomModifierOnPointedAtTypeByParameterIndex(parameterIndex.Value); 989public static bool IsMarshallingRequired(MethodSignature methodSig, ModuleDesc moduleContext)
parent\parent\Common\TypeSystem\Interop\IL\Marshaller.cs (4)
388MethodSignature methodSig, 456public static Marshaller[] GetMarshallersForSignature(MethodSignature methodSig, ParameterMetadata[] paramMetadata, ModuleDesc moduleContext) 494public static bool IsMarshallingRequired(MethodSignature methodSig, ModuleDesc moduleContext) 506public static bool IsMarshallingRequired(MethodSignature methodSig, ParameterMetadata[] paramMetadata, ModuleDesc moduleContext)
parent\parent\Common\TypeSystem\Interop\UnmanagedCallingConventions.cs (3)
51public static UnmanagedCallingConventions GetStandaloneMethodSignatureCallingConventions(this MethodSignature signature) 76if (data.index != MethodSignature.IndexOfCustomModifiersOnReturnType) 268index = MethodSignature.IndexOfCustomModifiersOnReturnType,
parent\parent\Common\TypeSystem\MetadataEmitter\TypeSystemMetadataEmitter.cs (5)
171case MethodSignature methodSignature: return GetStandaloneSig(methodSignature); 245private BlobHandle GetMethodSignatureBlobHandle(MethodSignature sig) 289public EntityHandle GetStandaloneSig(MethodSignature sig) 320var sig = method.GetTypicalMethodDefinition().Signature; 658private void EncodeMethodSignature(BlobBuilder signatureBuilder, MethodSignature sig, EmbeddedSignatureDataEmitter signatureDataEmitter)
PortableCallHelpers\PInvokeCollector.cs (1)
97public MethodSignature Parameters => Method.Signature;
PortableCallHelpers\PInvokeTableGenerator.cs (2)
359MethodSignature signature = pinvoke.Method.Signature; 468private static IEnumerable<TypeDesc> ParameterTypes(MethodSignature signature)
src\runtime\src\coreclr\tools\Common\Compiler\GenericCycleDetection\GraphBuilder.cs (1)
325MethodSignature methodSig = method.Signature;
ILCompiler.RyuJit (22)
Compiler\DependencyAnalysis\MethodCodeNode.cs (1)
189MethodSignature sig = _method.Signature;
JitInterface\CorInfoImpl.RyuJit.cs (3)
979MethodSignature sig = methodIL.OwningMethod.Signature; 2007MethodSignature signature = (MethodSignature)methodIL.GetObject((int)pResolvedToken.token);
parent\parent\Common\JitInterface\CorInfoImpl.cs (15)
194private bool HasSecretStubArgument(MethodSignature signature, int parameterIndex) 799private MethodSignature HandleToObject(MethodSignatureInfo* method) => (MethodSignature)HandleToObject((void*)method); 800private MethodSignatureInfo* ObjectToHandle(MethodSignature method) => (MethodSignatureInfo*)ObjectToHandle((object)method); 920private void Get_CORINFO_SIG_INFO(MethodSignature signature, CORINFO_SIG_INFO* sig, MethodILScope scope) 1804private static CorInfoCallConvExtension GetUnmanagedCallConv(MethodSignature signature, out bool suppressGCTransition) 2141var methodSig = (MethodSignature)methodIL.GetObject((int)sigTOK); 3517MethodSignature methodSig = sigObj as MethodSignature; 3558MethodSignature methodSig = sigObj as MethodSignature; 3721MethodSignature signature = new MethodSignature(MethodSignatureFlags.Static, 0, context.GetWellKnownType(WellKnownType.Void), [parameterType]); 3731MethodSignature signature = new MethodSignature(MethodSignatureFlags.Static, 1, signatureVariable, [parameterType]); 3791MethodSignature signature = new MethodSignature(
parent\parent\Common\JitInterface\JitTypeNameFormatter.cs (1)
45MethodSignature signature = type.Signature;
parent\parent\Common\TypeSystem\IL\HelperExtensions.cs (2)
37public static MethodDesc GetCoreLibEntryPoint(this TypeSystemContext context, ReadOnlySpan<byte> namespaceName, ReadOnlySpan<byte> typeName, ReadOnlySpan<byte> methodName, MethodSignature signature) 74public static MethodDesc GetKnownMethod(this TypeDesc type, ReadOnlySpan<byte> name, MethodSignature signature)
ILCompiler.TypeSystem (102)
parent\parent\Common\TypeSystem\Canon\FunctionPointerType.Canon.cs (1)
28MethodSignature canonSignature = sigBuilder.ToSignature();
parent\parent\Common\TypeSystem\Common\ArrayType.cs (7)
227private MethodSignature _signature; 229public override MethodSignature Signature 242_signature = new MethodSignature(0, 0, _owningType.ElementType, parameters, MethodSignature.EmbeddedSignatureMismatchPermittedFlag); 251_signature = new MethodSignature(0, 0, this.Context.GetWellKnownType(WellKnownType.Void), parameters, MethodSignature.EmbeddedSignatureMismatchPermittedFlag); 259_signature = new MethodSignature(0, 0, _owningType.ElementType.MakeByRefType(), parameters, MethodSignature.EmbeddedSignatureMismatchPermittedFlag); 277_signature = new MethodSignature(0, 0, _owningType.ElementType.MakeByRefType(), parameters, MethodSignature.EmbeddedSignatureMismatchPermittedFlag); 295_signature = new MethodSignature(0, 0, this.Context.GetWellKnownType(WellKnownType.Void), argTypes, MethodSignature.EmbeddedSignatureMismatchPermittedFlag);
parent\parent\Common\TypeSystem\Common\ConstructedTypeRewritingHelpers.cs (3)
45MethodSignature functionPointerSignature = ((FunctionPointerType)type).Signature; 128MethodSignature oldSig = ((FunctionPointerType)type).Signature; 134MethodSignature newSig = sigBuilder.ToSignature();
parent\parent\Common\TypeSystem\Common\FunctionPointerType.cs (4)
11private MethodSignature _signature; 14internal FunctionPointerType(MethodSignature signature) 22public MethodSignature Signature 52MethodSignature instantiatedSignature = sigBuilder.ToSignature();
parent\parent\Common\TypeSystem\Common\InstantiatedMethod.cs (3)
17private MethodSignature _signature; 63public override MethodSignature Signature 69MethodSignature template = _methodDef.Signature;
parent\parent\Common\TypeSystem\Common\InstantiatedType.cs (2)
164public override MethodDesc GetMethod(Utf8Span name, MethodSignature signature, Instantiation substitution) 172public override MethodDesc GetMethodWithEquivalentSignature(Utf8Span name, MethodSignature signature, Instantiation substitution)
parent\parent\Common\TypeSystem\Common\MetadataVirtualMethodAlgorithm.cs (1)
384MethodSignature sig = targetMethod.Signature;
parent\parent\Common\TypeSystem\Common\MethodDelegator.cs (1)
26public override MethodSignature Signature => _wrappedMethod.Signature;
parent\parent\Common\TypeSystem\Common\MethodDesc.cs (15)
47public sealed partial class MethodSignature : TypeSystemEntity, IEquatable<MethodSignature> 86public MethodSignature ApplySubstitution(Instantiation substitution) 255public bool Equals(MethodSignature otherSignature) 260public bool EquivalentWithCovariantReturnType(MethodSignature otherSignature) 265public bool EquivalentTo(MethodSignature otherSignature) 270internal bool EquivalentTo(MethodSignature otherSignature, StackOverflowProtect visited) 275private bool Equals(MethodSignature otherSignature, bool allowCovariantReturn, bool allowEquivalence, StackOverflowProtect visited = null) 356return obj is MethodSignature && Equals((MethodSignature)obj); 374private MethodSignature _signature; 376public SignatureEnumerator(MethodSignature signature) 400private MethodSignature _template; 407public MethodSignatureBuilder(MethodSignature template) 467public MethodSignature ToSignature() 552public abstract MethodSignature Signature
parent\parent\Common\TypeSystem\Common\MethodForInstantiatedType.cs (3)
17private MethodSignature _signature; 56public override MethodSignature Signature 62MethodSignature template = _typicalMethodDef.Signature;
parent\parent\Common\TypeSystem\Common\ResolutionFailure.cs (2)
26private MethodSignature _methodSignature; 58public static ResolutionFailure GetMissingMethodFailure(TypeDesc owningType, string methodName, MethodSignature signature)
parent\parent\Common\TypeSystem\Common\ThrowHelper.Common.cs (1)
97public static string Method(TypeDesc owningType, string methodName, MethodSignature signature)
parent\parent\Common\TypeSystem\Common\ThrowHelper.cs (1)
21public static void ThrowMissingMethodException(TypeDesc owningType, string methodName, MethodSignature signature)
parent\parent\Common\TypeSystem\Common\TypeDesc.cs (3)
525public MethodDesc GetMethod(Utf8Span name, MethodSignature signature) 537public virtual MethodDesc GetMethod(Utf8Span name, MethodSignature signature, Instantiation substitution) 550public virtual MethodDesc GetMethodWithEquivalentSignature(Utf8Span name, MethodSignature signature, Instantiation substitution)
parent\parent\Common\TypeSystem\Common\TypeSystemContext.cs (5)
213public class FunctionPointerHashtable : LockFreeReaderHashtable<MethodSignature, FunctionPointerType> 215protected override int GetKeyHashCode(MethodSignature key) 225protected override bool CompareKeyToValue(MethodSignature key, FunctionPointerType value) 235protected override FunctionPointerType CreateValueFromKey(MethodSignature key) 243public FunctionPointerType GetFunctionPointerType(MethodSignature signature)
parent\parent\Common\TypeSystem\Common\TypeSystemHelpers.cs (2)
89var sig = new MethodSignature(0, 0, type.Context.GetWellKnownType(WellKnownType.Void), TypeDesc.EmptyTypes); 337MethodSignature pointerSignature = ((FunctionPointerType)thisType).Signature;
parent\parent\Common\TypeSystem\Common\Utilities\CSharpTypeNameFormatter.cs (1)
60MethodSignature signature = type.Signature;
parent\parent\Common\TypeSystem\Common\Utilities\DebugNameFormatter.cs (1)
49MethodSignature signature = type.Signature;
parent\parent\Common\TypeSystem\Common\Utilities\ExceptionTypeNameFormatter.cs (1)
43MethodSignature signature = type.Signature;
parent\parent\Common\TypeSystem\Ecma\EcmaMethod.cs (4)
49private MethodSignature _signature; 82private MethodSignature InitializeSignature() 88var signature = parser.ParseMethodSignature(); 92public override MethodSignature Signature
parent\parent\Common\TypeSystem\Ecma\EcmaModule.cs (2)
564MethodSignature methodSig = parser.ParseMethodSignature(); 613MethodSignature sig = parser.ParseMethodSignature();
parent\parent\Common\TypeSystem\Ecma\EcmaSignatureEncoder.cs (1)
27public void EncodeMethodSignature(BlobBuilder methodSignatureBlob, MethodSignature signature)
parent\parent\Common\TypeSystem\Ecma\EcmaSignatureParser.cs (5)
250MethodSignature sig = ParseMethodSignatureInternal(skipEmbeddedSignatureData: true); 367public MethodSignature ParseMethodSignature() 375private MethodSignature ParseMethodSignatureInternal(bool skipEmbeddedSignatureData) 383MethodSignature result = ParseMethodSignatureImpl(skipEmbeddedSignatureData); 388private MethodSignature ParseMethodSignatureImpl(bool skipEmbeddedSignatureData)
parent\parent\Common\TypeSystem\Ecma\EcmaType.cs (4)
317public new EcmaMethod GetMethod(Utf8Span name, MethodSignature signature) 322public override EcmaMethod GetMethod(Utf8Span name, MethodSignature signature, Instantiation substitution) 339public override EcmaMethod GetMethodWithEquivalentSignature(Utf8Span name, MethodSignature signature, Instantiation substitution) 391MethodSignature sig = method.Signature;
parent\parent\Common\TypeSystem\IL\HelperExtensions.cs (2)
37public static MethodDesc GetCoreLibEntryPoint(this TypeSystemContext context, ReadOnlySpan<byte> namespaceName, ReadOnlySpan<byte> typeName, ReadOnlySpan<byte> methodName, MethodSignature signature) 74public static MethodDesc GetKnownMethod(this TypeDesc type, ReadOnlySpan<byte> name, MethodSignature signature)
parent\parent\Common\TypeSystem\IL\ILDisassembler.cs (7)
84MethodSignature signature = method.GetMethodDefinition().Signature; 111private void AppendMethodSignature(StringBuilder sb, MethodSignature signature) 119private void AppendSignaturePrefix(StringBuilder sb, MethodSignature signature) 127private void AppendSignatureArgumentList(StringBuilder sb, MethodSignature signature) 175else if (obj is MethodSignature) 176AppendMethodSignature(sb, (MethodSignature)obj); 471MethodSignature signature = type.Signature;
parent\parent\Common\TypeSystem\IL\ILStackHelper.cs (2)
254MethodSignature sig = obj is MethodSignature methodSignature ?
parent\parent\Common\TypeSystem\IL\InstantiatedMethodIL.cs (1)
105else if (o is MethodSignature template)
parent\parent\Common\TypeSystem\IL\Stubs\ILEmitter.cs (1)
730public ILToken NewToken(MethodSignature value)
parent\parent\Common\TypeSystem\IL\Stubs\PInvokeTargetNativeMethod.cs (3)
19private readonly MethodSignature _signature; 29public PInvokeTargetNativeMethod(MethodDesc declMethod, MethodSignature signature) 51public override MethodSignature Signature
parent\parent\Common\TypeSystem\IL\UnsafeAccessors.cs (4)
221public MethodSignature DeclarationSignature; 255MethodSignature declSig = context.DeclarationSignature; 256MethodSignature maybeSig = method.Signature; 551MethodSignature originalSignature = method.Signature;
parent\parent\Common\TypeSystem\Mangling\IPrefixMangledSignature.cs (1)
17MethodSignature BaseSignature { get; }
parent\parent\Common\TypeSystem\RuntimeDetermined\FunctionPointerType.RuntimeDetermined.cs (1)
31MethodSignature newSig = sigBuilder.ToSignature();
parent\parent\Common\TypeSystem\RuntimeDetermined\MethodForRuntimeDeterminedType.cs (1)
35public override MethodSignature Signature => _typicalMethodDef.Signature;
parent\parent\Common\TypeSystem\RuntimeDetermined\RuntimeDeterminedType.cs (2)
128public override MethodDesc GetMethod(Utf8Span name, MethodSignature signature, Instantiation substitution) 136public override MethodDesc GetMethodWithEquivalentSignature(Utf8Span name, MethodSignature signature, Instantiation substitution)
parent\parent\Common\TypeSystem\Sorting\MethodSignature.Sorting.cs (1)
9internal int CompareTo(MethodSignature other, TypeSystemComparer comparer)
parent\parent\Common\TypeSystem\Sorting\TypeSystemComparer.cs (3)
28public class TypeSystemComparer : IComparer<TypeDesc>, IComparer<MethodDesc>, IComparer<FieldDesc>, IComparer<MethodSignature>, IComparer<ModuleDesc> 127public int Compare(MethodSignature x, MethodSignature y)