96 references to 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);