7 instantiations of SignatureHelper
System.Private.CoreLib (7)
src\System\Reflection\Emit\SignatureHelper.cs (7)
31SignatureHelper sigHelp = new SignatureHelper(scope, MdSigCallingConvention.GenericInst); 70sigHelp = new SignatureHelper(scope, intCall, cGenericParam, returnType, 104return new SignatureHelper(mod, intCall, returnType, null, null); 124return new SignatureHelper(mod, MdSigCallingConvention.LocalSig); 129return new SignatureHelper(mod, MdSigCallingConvention.Field); 157sigHelp = new SignatureHelper(mod, intCall, 169return new SignatureHelper(module, type);
87 references to SignatureHelper
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
450[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Reflection.Emit.SignatureHelper))]
netstandard (1)
netstandard.cs (1)
1418[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Reflection.Emit.SignatureHelper))]
System.Private.CoreLib (81)
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\ILGenerator.cs (1)
49public abstract void Emit(OpCode opcode, SignatureHelper signature);
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\ModuleBuilder.cs (1)
191public abstract int GetSignatureMetadataToken(SignatureHelper signature);
src\System\Reflection\Emit\DynamicILGenerator.cs (17)
183SignatureHelper sig = GetMethodSigHelper(callingConvention, 220SignatureHelper sig = GetMethodSigHelper(unmanagedCallConv, returnType, parameterTypes); 279public override void Emit(OpCode opcode, SignatureHelper signature) 426SignatureHelper sig = GetMethodSigHelper(methodInfo.CallingConvention, 439private SignatureHelper GetMethodSigHelper( 444SignatureHelper sigHelp = SignatureHelper.GetMethodSigHelper(null, unmanagedCallConv, returnType); 449private SignatureHelper GetMethodSigHelper( 457SignatureHelper sig = SignatureHelper.GetMethodSigHelper(call, returnType); 467private void AddParameters(SignatureHelper sigHelp, Type[]? parameterTypes, Type[][]? requiredCustomModifiers, Type[][]? optionalCustomModifiers) 530private int GetTokenForVarArgMethod(RuntimeMethodInfo rtMeth, SignatureHelper sig) 536private int GetTokenForVarArgMethod(DynamicMethod dm, SignatureHelper sig) 868internal byte[] LocalSignature => m_localSignature ??= SignatureHelper.GetLocalVarSigHelper().InternalGetSignatureArray(); 1092internal SignatureHelper m_signature; 1094internal VarArgMethod(DynamicMethod dm, SignatureHelper signature) 1100internal VarArgMethod(RuntimeMethodInfo method, SignatureHelper signature)
src\System\Reflection\Emit\DynamicMethod.CoreCLR.cs (2)
150byte[] methodSignature = SignatureHelper.GetMethodSigHelper( 161byte[] methodSignature = SignatureHelper.GetMethodSigHelper(
src\System\Reflection\Emit\RuntimeConstructorBuilder.cs (1)
48internal SignatureHelper GetMethodSignature()
src\System\Reflection\Emit\RuntimeFieldBuilder.cs (2)
34SignatureHelper sigHelp = SignatureHelper.GetFieldSigHelper(m_typeBuilder.Module);
src\System\Reflection\Emit\RuntimeILGenerator.cs (7)
62internal SignatureHelper m_localSignature; 98m_localSignature = SignatureHelper.GetLocalVarSigHelper(mb?.GetTypeBuilder().Module); 174internal SignatureHelper GetMemberRefSignature( 528SignatureHelper sig = GetMemberRefSignature(callingConvention, 568SignatureHelper sig = SignatureHelper.GetMethodSigHelper( 633public override void Emit(OpCode opcode, SignatureHelper signature)
src\System\Reflection\Emit\RuntimeMethodBuilder.cs (5)
44private SignatureHelper? m_signature; 276internal SignatureHelper GetMethodSignature() 280m_signature = SignatureHelper.GetMethodSigHelper(m_module, m_callingConvention, m_inst != null ? m_inst.Length : 0, 305return SignatureHelper.GetLocalVarSigHelper(m_module).InternalGetSignature(out signatureLength); 377SignatureHelper thatSig = rmBuilder.GetMethodSignature();
src\System\Reflection\Emit\RuntimeModuleBuilder.cs (23)
276SignatureHelper sigHelp = SignatureHelper.GetMethodSigHelper(this, constructor.CallingConvention, null, null, null, parameterTypes, requiredCustomModifiers, optionalCustomModifiers); 308SignatureHelper sigHelp; 352byte[] sig = SignatureHelper.GetTypeSigToken(this, method.DeclaringType).InternalGetSignature(out int length); 372internal SignatureHelper GetMemberRefSignature(CallingConventions call, Type? returnType, 376SignatureHelper sig = SignatureHelper.GetMethodSigHelper(this, call, cGenericParameters, returnType, null, null, parameterTypes, requiredCustomModifiers, optionalCustomModifiers); 437internal SignatureHelper GetMemberRefSignature(MethodBase? method, int cGenericParameters) 472SignatureHelper sigHelp = SignatureHelper.GetMethodSigHelper(this, method.CallingConvention, cGenericParameters, returnParameter?.ParameterType, returnParameter?.GetRequiredCustomModifiers(), returnParameter?.GetOptionalCustomModifiers(), parameterTypes, requiredCustomModifiers, optionalCustomModifiers); 914byte[] sig = SignatureHelper.GetTypeSigToken(this, type).InternalGetSignature(out int length); 1034SignatureHelper sigHelp; 1038sigHelp = SignatureHelper.GetMethodSigHelper( 1046sigHelp = SignatureHelper.GetMethodSigHelper(this, method.ReturnType, parameterTypes); 1094byte[] sigBytes = SignatureHelper.GetMethodSpecSigHelper( 1141SignatureHelper sigHelp = SignatureHelper.GetMethodSigHelper( 1183byte[] sig = SignatureHelper.GetTypeSigToken(this, field.DeclaringType).InternalGetSignature(out int length); 1214byte[] sig = SignatureHelper.GetTypeSigToken(this, field.DeclaringType).InternalGetSignature(out int length); 1227byte[] sig = SignatureHelper.GetTypeSigToken(this, field.DeclaringType!).InternalGetSignature(out int length); 1236SignatureHelper sigHelp = SignatureHelper.GetFieldSigHelper(this); 1257public override int GetSignatureMetadataToken(SignatureHelper signature)
src\System\Reflection\Emit\RuntimeTypeBuilder.cs (2)
1396SignatureHelper sigHelper; 1402sigHelper = SignatureHelper.GetPropertySigHelper(
src\System\Reflection\Emit\SignatureHelper.cs (19)
19public static SignatureHelper GetMethodSigHelper(Module? mod, Type? returnType, Type[]? parameterTypes) 24public static SignatureHelper GetMethodSigHelper(Module? mod, CallingConventions callingConvention, Type? returnType) 29internal static SignatureHelper GetMethodSpecSigHelper(Module? scope, Type[] inst) 31SignatureHelper sigHelp = new SignatureHelper(scope, MdSigCallingConvention.GenericInst); 38internal static SignatureHelper GetMethodSigHelper( 47internal static SignatureHelper GetMethodSigHelper( 52SignatureHelper sigHelp; 77internal static SignatureHelper GetMethodSigHelper(Module? mod, CallingConvention unmanagedCallConv, Type? returnType) 107public static SignatureHelper GetLocalVarSigHelper() 112public static SignatureHelper GetMethodSigHelper(CallingConventions callingConvention, Type? returnType) 117internal static SignatureHelper GetMethodSigHelper(CallingConvention unmanagedCallingConvention, Type? returnType) 122public static SignatureHelper GetLocalVarSigHelper(Module? mod) 127public static SignatureHelper GetFieldSigHelper(Module? mod) 132public static SignatureHelper GetPropertySigHelper(Module? mod, Type? returnType, Type[]? parameterTypes) 137public static SignatureHelper GetPropertySigHelper(Module? mod, 144public static SignatureHelper GetPropertySigHelper(Module? mod, CallingConventions callingConvention, 148SignatureHelper sigHelp; 164internal static SignatureHelper GetTypeSigToken(Module module, Type type) 840obj is SignatureHelper other &&
src\System\Reflection\Emit\SymbolMethod.cs (1)
51SignatureHelper.GetMethodSigHelper(
System.Reflection.Emit (3)
System\Reflection\Emit\ILGeneratorImpl.cs (2)
570public override void Emit(OpCode opcode, SignatureHelper signature) 581PropertyInfo argCountProperty = typeof(SignatureHelper).GetProperty("ArgumentCount", BindingFlags.NonPublic | BindingFlags.Instance)!;
System\Reflection\Emit\ModuleBuilderImpl.cs (1)
1357public override int GetSignatureMetadataToken(SignatureHelper signature) =>
System.Reflection.Emit.ILGeneration (1)
artifacts\obj\System.Reflection.Emit.ILGeneration\Debug\net10.0\System.Reflection.Emit.ILGeneration.Forwards.cs (1)
8[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Reflection.Emit.SignatureHelper))]