243 references to Length
ilc (3)
parent\parent\Common\TypeSystem\IL\HelperExtensions.cs (1)
57Debug.Assert(method.Signature.Length == 0 && method.Signature.IsStatic);
RdXmlRootProvider.cs (2)
166if (parameter.Count != method.Signature.Length) 169for (int i = 0; i < method.Signature.Length; i++)
ILCompiler.Compiler (129)
Compiler\CompilerTypeSystemContext.InterfaceThunks.cs (1)
255for (int i = 0; i < _targetMethod.Signature.Length; i++)
Compiler\Dataflow\AttributeDataFlow.cs (1)
85if (setter != null && setter.Signature.Length > 0 && !setter.Signature.IsStatic)
Compiler\Dataflow\MethodBodyScanner.cs (2)
747if (signature.Length > 0) 748PopUnknown(currentStack, signature.Length, methodIL, offset);
Compiler\Dataflow\ReflectionMethodBodyScanner.cs (1)
492for (int paramIndex = 0; paramIndex < calledMethod.Signature.Length; paramIndex++)
Compiler\DelegateCreationInfo.cs (2)
191int paramCountTargetMethod = targetMethod.Signature.Length; 198int paramCountDelegateClosed = delegateInfo.Signature.Length + 1;
Compiler\DependencyAnalysis\CallingConventionConverterKey.cs (2)
26for (int i = 0; i < signature.Length; i++) 79for (int i = 0; i < signature.Length; i++)
Compiler\DependencyAnalysis\NativeLayoutVertexNode.cs (2)
266_parametersSig = new NativeLayoutTypeSignatureVertexNode[signature.Length]; 295Debug.Assert(_signature.Length == _parametersSig.Length);
Compiler\DependencyAnalysis\ReflectionInvokeSupportDependencyAlgorithm.cs (4)
32if (sig.Length < 1 || !sig[sig.Length - 1].IsArray) 44if (param.SequenceNumber == sig.Length /* SequenceNumber is 1-based */) 50factory.ConstructedTypeSymbol(sig[sig.Length - 1].NormalizeInstantiation()),
Compiler\DependencyAnalysis\Target_ARM\ARMReadyToRunGenericHelperNode.cs (2)
177Debug.Assert(target.Constructor.Method.Signature.Length == 3); 182Debug.Assert(target.Constructor.Method.Signature.Length == 2);
Compiler\DependencyAnalysis\Target_ARM\ARMReadyToRunHelperNode.cs (2)
116Debug.Assert(target.Constructor.Method.Signature.Length == 3); 121Debug.Assert(target.Constructor.Method.Signature.Length == 2);
Compiler\DependencyAnalysis\Target_ARM64\ARM64ReadyToRunGenericHelperNode.cs (2)
175Debug.Assert(target.Constructor.Method.Signature.Length == 3); 180Debug.Assert(target.Constructor.Method.Signature.Length == 2);
Compiler\DependencyAnalysis\Target_ARM64\ARM64ReadyToRunHelperNode.cs (2)
131Debug.Assert(target.Constructor.Method.Signature.Length == 3); 136Debug.Assert(target.Constructor.Method.Signature.Length == 2);
Compiler\DependencyAnalysis\Target_LoongArch64\LoongArch64ReadyToRunGenericHelperNode.cs (2)
177Debug.Assert(target.Constructor.Method.Signature.Length == 3); 182Debug.Assert(target.Constructor.Method.Signature.Length == 2);
Compiler\DependencyAnalysis\Target_LoongArch64\LoongArch64ReadyToRunHelperNode.cs (2)
123Debug.Assert(target.Constructor.Method.Signature.Length == 3); 128Debug.Assert(target.Constructor.Method.Signature.Length == 2);
Compiler\DependencyAnalysis\Target_RiscV64\RiscV64ReadyToRunGenericHelperNode.cs (2)
174Debug.Assert(target.Constructor.Method.Signature.Length == 3); 179Debug.Assert(target.Constructor.Method.Signature.Length == 2);
Compiler\DependencyAnalysis\Target_RiscV64\RiscV64ReadyToRunHelperNode.cs (2)
121Debug.Assert(target.Constructor.Method.Signature.Length == 3); 126Debug.Assert(target.Constructor.Method.Signature.Length == 2);
Compiler\DependencyAnalysis\Target_X64\X64ReadyToRunGenericHelperNode.cs (2)
185Debug.Assert(target.Constructor.Method.Signature.Length == 3); 190Debug.Assert(target.Constructor.Method.Signature.Length == 2);
Compiler\DependencyAnalysis\Target_X64\X64ReadyToRunHelperNode.cs (2)
136Debug.Assert(target.Constructor.Method.Signature.Length == 3); 141Debug.Assert(target.Constructor.Method.Signature.Length == 2);
Compiler\DependencyAnalysis\Target_X86\X86ReadyToRunGenericHelperNode.cs (2)
174Debug.Assert(target.Constructor.Method.Signature.Length == 3); 183Debug.Assert(target.Constructor.Method.Signature.Length == 2);
Compiler\DependencyAnalysis\Target_X86\X86ReadyToRunHelperNode.cs (2)
141Debug.Assert(target.Constructor.Method.Signature.Length == 3); 149Debug.Assert(target.Constructor.Method.Signature.Length == 2);
Compiler\ILAssemblyGeneratingMethodDebugInfoProvider.cs (1)
85for (int i = 0; i < owningMethod.Signature.Length; i++)
Compiler\LibraryRootProvider.cs (1)
94for (int i = 0; i < signature.Length; i++)
Compiler\Logging\DocumentationSignatureParser.cs (1)
707if (methodParameters.Length != expectedParameters.Count)
Compiler\MetadataManager.cs (1)
1187for (int i = 0; i < pointerSignature.Length; i++)
Compiler\SubstitutedILProvider.cs (3)
419&& callee.Signature is { Length: 0, IsStatic: true } 746for (int i = 0; i < callee.Signature.Length + (callee.Signature.IsStatic ? 0 : 1); i++) 846if (method.Signature.Length > 0 || !method.Signature.IsStatic)
Compiler\TypePreinit.cs (4)
484int numParams = methodSig.Length + paramOffset; 600Value[] ctorParameters = new Value[ctorSig.Length + 1]; 601for (int i = ctorSig.Length - 1; i >= 0; i--) 1990if ((uint)(index - offset) >= (uint)sig.Length)
Compiler\UserDefinedTypeDescriptor.cs (2)
205descriptor.NumberOfArguments = checked((ushort)signature.Length); 212uint[] args = new uint[signature.Length];
IL\ILImporter.Scanner.cs (1)
518if (sig.Length != 1)
IL\RvaIntrinsicPatternAnalyzer.cs (3)
167int argumentCount = constructor.Signature.Length; 329&& signature.Length == 2 342&& signature.Length == 1
IL\Stubs\StartupCode\StartupCodeMainMethod.cs (2)
130if (_mainMethod.Signature.Length > 0) 285for (int i = 0; i < Signature.Length; i++)
parent\parent\Common\Compiler\CompilerTypeSystemContext.BoxedTypes.cs (2)
458for (int i = 0; i < _targetMethod.Signature.Length; i++) 565for (int i = 0; i < _targetMethod.Signature.Length; i++)
parent\parent\Common\Compiler\Dataflow\EcmaExtensions.cs (3)
122return new ParameterProxyEnumerable(implicitThisOffset, method.Signature.Length + implicitThisOffset, method); 128public static int GetMetadataParametersCount(this MethodDesc method) => method.Signature.Length; 139=> method.Signature.Length + (method.Signature.IsStatic ? 0 : 1);
parent\parent\Common\Compiler\DisplayNameHelpers.cs (4)
88if (method.Signature.Length > 0) 90for (int i = 0; i < method.Signature.Length - 1; i++) 96sb.Append(method.Signature[method.Signature.Length - 1].GetDisplayNameWithoutNamespace()); 184for (int i = 0; i < signature.Length; i++)
parent\parent\Common\Compiler\NativeAotNameMangler.cs (2)
402for (int i = 0; i < fnPtrType.Signature.Length; i++) 526for (int i = 0; i < signature.Length; i++)
parent\parent\Common\Compiler\ObjectWriter\OutputInfoBuilder.cs (1)
248for (int paramIndex = 0; paramIndex < method.Signature.Length; paramIndex++)
parent\parent\Common\Compiler\ObjectWriter\TypeString.cs (1)
49for (int i = 0; i < signature.Length; i++)
parent\parent\Common\Compiler\ProcessLinkerXmlBase.cs (2)
544for (int i = 0; i < meth.Signature.Length; i++) 613for (int i = 0; i < type.Signature.Length; i++)
parent\parent\Common\Internal\Runtime\EETypeBuilderHelpers.cs (2)
1620 => sig.Length, 163_ => sig.Length | unchecked((int)FunctionPointerFlags.IsUnmanaged),
parent\parent\Common\JitInterface\WasmLowering.cs (4)
24TypeDesc[] arguments = new TypeDesc[signature.Length]; 25for (int i = 0; i < signature.Length; i++) 715ArrayBuilder<WasmValueType> result = new(signature.Length + 6); 762for (int i = explicitThis ? 1 : 0; i < signature.Length; i++)
parent\parent\Common\TypeSystem\IL\DelegateInfo.cs (2)
152&& delegateSignature.Length > 0 189for (int i = 0; i < signature.Length; i++)
parent\parent\Common\TypeSystem\IL\HelperExtensions.cs (1)
57Debug.Assert(method.Signature.Length == 0 && method.Signature.IsStatic);
parent\parent\Common\TypeSystem\IL\NativeAotILProvider.cs (1)
108if (method.Name == "CreateInstance"u8 && method.Signature.Length == 0 && method.HasInstantiation
parent\parent\Common\TypeSystem\IL\Stubs\AsyncThunks.cs (2)
72for (int iArg = 0; iArg < sig.Length; iArg++) 284for (int iArg = 0; iArg < sig.Length; iArg++)
parent\parent\Common\TypeSystem\IL\Stubs\CalliMarshallingMethodThunk.cs (2)
63TypeDesc[] parameterTypes = new TypeDesc[_targetSignature.Length + 1]; 65for (int i = 0; i < _targetSignature.Length; i++)
parent\parent\Common\TypeSystem\IL\Stubs\DelegateMarshallingMethodThunk.cs (2)
166TypeDesc[] nativeParameterTypes = new TypeDesc[delegateSignature.Length]; 182for (int i = 0; i < delegateSignature.Length; i++)
parent\parent\Common\TypeSystem\IL\Stubs\DelegateMethodILEmitter.cs (2)
66for (int i = 0; i < signature.Length; i++) 83TypeDesc[] parameters = new TypeDesc[method.Signature.Length];
parent\parent\Common\TypeSystem\IL\Stubs\DelegateThunks.cs (13)
117for (int i = 0; i < Signature.Length; i++) 172Debug.Assert(Signature.Length > 0); 179TypeDesc[] parameters = new TypeDesc[Signature.Length - 1]; 180for (int i = 0; i < Signature.Length; i++) 251TypeDesc[] targetMethodParameters = new TypeDesc[Signature.Length + 1]; 254for (int i = 0; i < Signature.Length; i++) 270for (int i = 0; i < Signature.Length; i++) 381for (int i = 0; i < Signature.Length; i++) 453for (int i = 0; i < Signature.Length; i++) 532if (Signature.Length > 0) 534codeStream.EmitLdc(Signature.Length); 538for (int i = 0; i < Signature.Length; i++) 613for (int i = 0; i < Signature.Length; i++)
parent\parent\Common\TypeSystem\IL\Stubs\DynamicInvokeMethodThunk.cs (4)
51TypeDesc[] parameters = new TypeDesc[sig.Length]; 52for (int i = 0; i < sig.Length; i++) 145if (_targetSignature.Length != 0) 149for (int i = 0; i < _targetSignature.Length; i++)
parent\parent\Common\TypeSystem\IL\Stubs\GetCanonTypeIntrinsic.cs (1)
18Debug.Assert(target.Signature.Length == 0);
parent\parent\Common\TypeSystem\IL\Stubs\PInvokeILEmitter.cs (2)
78Marshaller[] marshallers = new Marshaller[methodSig.Length + 1]; 374callsiteSetupCodeStream.EmitLdArg(calliThunk.TargetSignature.Length);
parent\parent\Common\TypeSystem\IL\Stubs\TypeGetTypeMethodThunk.cs (5)
43return System.Text.Encoding.UTF8.GetBytes($"{_helperMethod.GetName()}_{Signature.Length}_{DefaultAssemblyName}"); 51return $"{_helperMethod.DiagnosticName}_{Signature.Length}_{DefaultAssemblyName}"; 81for (int i = 2; i < _helperMethod.Signature.Length; i++) 89if (i - 1 < Signature.Length) 177if (signature.Length > 1 && signature[1].HasInstantiation)
parent\parent\Common\TypeSystem\IL\Stubs\TypeSystemThrowingILEmitter.cs (3)
34if (helper.Signature.Length != exception.Arguments.Count + 1) 60if (helper.Signature.Length != exception.Arguments.Count + 1) 78Debug.Assert(helper.Signature.Length == exception.Arguments.Count + 1);
parent\parent\Common\TypeSystem\IL\Stubs\UnsafeIntrinsics.cs (5)
101Debug.Assert(method.Signature.IsStatic && method.Signature.Length == 2); 119Debug.Assert(method.Signature.IsStatic && method.Signature.Length == 2); 139Debug.Assert(method.Signature.IsStatic && method.Signature.Length == (write ? 2 : 1)); 157Debug.Assert(method.Signature.IsStatic && method.Signature.Length == 2); 212Debug.Assert(method.Signature.IsStatic && method.Signature.Length == 1);
parent\parent\Common\TypeSystem\Interop\IL\Marshaller.cs (1)
393Marshaller[] marshallers = new Marshaller[methodSig.Length + 1];
parent\parent\Common\TypeSystem\MetadataEmitter\TypeSystemMetadataEmitter.cs (2)
697signatureBuilder.WriteCompressedInteger(sig.Length); 699for (int i = 0; i < sig.Length; i++)
src\runtime\src\coreclr\tools\Common\Compiler\GenericCycleDetection\GraphBuilder.cs (2)
292|| interfaceMethod.Signature.Length != method.Signature.Length
ILCompiler.MetadataTransform (4)
ILCompiler\Metadata\Transform.cs (1)
43for (int i = 0; i < pointerSignature.Length; i++)
ILCompiler\Metadata\Transform.CustomAttribute.cs (1)
54result.FixedArguments.Capacity = sig.Length;
ILCompiler\Metadata\Transform.Method.cs (2)
171result.Parameters.Capacity = signature.Length; 172for (int i = 0; i < signature.Length; i++)
ILCompiler.ReadyToRun (62)
Compiler\DependencyAnalysis\ReadyToRun\GCRefMapBuilder.cs (1)
89TypeHandle[] parameterTypes = new TypeHandle[signature.Length];
Compiler\DependencyAnalysis\ReadyToRun\SignatureBuilder.cs (2)
385EmitUInt((uint)type.Signature.Length); 388for (int argIndex = 0; argIndex < type.Signature.Length; argIndex++)
Compiler\DependencyAnalysis\ReadyToRun\TypeValidationChecker.cs (1)
684for (int i = 0; i < signature.Length; i++)
Compiler\DependencyAnalysis\ReadyToRun\WasmImportThunk.cs (4)
149int[] offsets = new int[methodSignature.Length]; 150bool[] isIndirectStructArg = new bool[methodSignature.Length]; 235for (int i = 0; i < methodSignature.Length; i++) 379for (int i = 0; i < methodSignature.Length; i++)
Compiler\DependencyAnalysis\ReadyToRun\WasmInterpreterToR2RThunkNode.cs (3)
130int[] interpOffsets = new int[methodSignature.Length]; 131bool[] isIndirectStructArg = new bool[methodSignature.Length]; 216for (int i = 0; i < methodSignature.Length; i++)
Compiler\DependencyAnalysis\ReadyToRun\WasmR2RToInterpreterThunkNode.cs (3)
134int[] offsets = new int[methodSignature.Length]; 135bool[] isIndirectStructArg = new bool[methodSignature.Length]; 222for (int i = 0; i < methodSignature.Length; i++)
Compiler\ReadyToRunCompilationModuleGroupBase.cs (1)
845for (int i = 0; i < ptrSignature.Length; i++)
Compiler\ReadyToRunLibraryRootProvider.cs (1)
98for (int i = 0; i < signature.Length; i++)
Compiler\ReadyToRunTypeMapEncoding.cs (1)
45for (int i = 0; i < signature.Length; i++)
Compiler\RuntimeDeterminedTypeHelper.cs (3)
106method1.Signature.Length != method2.Signature.Length || 112for (int argIndex = 0; argIndex < method1.Signature.Length; argIndex++)
IL\ReadyToRunILProvider.cs (1)
54&& method.Signature.Length == 0
JitInterface\CorInfoImpl.ReadyToRun.cs (1)
2709for (int argIndex = 0; argIndex < signature.Length; argIndex++)
parent\parent\Common\Compiler\CompilerTypeSystemContext.BoxedTypes.cs (2)
458for (int i = 0; i < _targetMethod.Signature.Length; i++) 565for (int i = 0; i < _targetMethod.Signature.Length; i++)
parent\parent\Common\Compiler\Dataflow\EcmaExtensions.cs (3)
122return new ParameterProxyEnumerable(implicitThisOffset, method.Signature.Length + implicitThisOffset, method); 128public static int GetMetadataParametersCount(this MethodDesc method) => method.Signature.Length; 139=> method.Signature.Length + (method.Signature.IsStatic ? 0 : 1);
parent\parent\Common\Compiler\DisplayNameHelpers.cs (4)
88if (method.Signature.Length > 0) 90for (int i = 0; i < method.Signature.Length - 1; i++) 96sb.Append(method.Signature[method.Signature.Length - 1].GetDisplayNameWithoutNamespace()); 184for (int i = 0; i < signature.Length; i++)
parent\parent\Common\Compiler\NativeAotNameMangler.cs (2)
402for (int i = 0; i < fnPtrType.Signature.Length; i++) 526for (int i = 0; i < signature.Length; i++)
parent\parent\Common\Compiler\ObjectWriter\OutputInfoBuilder.cs (1)
248for (int paramIndex = 0; paramIndex < method.Signature.Length; paramIndex++)
parent\parent\Common\Compiler\ObjectWriter\TypeString.cs (1)
49for (int i = 0; i < signature.Length; i++)
parent\parent\Common\Compiler\ProcessLinkerXmlBase.cs (2)
544for (int i = 0; i < meth.Signature.Length; i++) 613for (int i = 0; i < type.Signature.Length; i++)
parent\parent\Common\JitInterface\CorInfoImpl.cs (1)
945sig->numArgs = (ushort)signature.Length;
parent\parent\Common\JitInterface\JitTypeNameFormatter.cs (1)
50for (int i = 0; i < signature.Length; i++)
parent\parent\Common\JitInterface\WasmLowering.cs (4)
24TypeDesc[] arguments = new TypeDesc[signature.Length]; 25for (int i = 0; i < signature.Length; i++) 715ArrayBuilder<WasmValueType> result = new(signature.Length + 6); 762for (int i = explicitThis ? 1 : 0; i < signature.Length; i++)
parent\parent\Common\TypeSystem\IL\HelperExtensions.cs (1)
57Debug.Assert(method.Signature.Length == 0 && method.Signature.IsStatic);
parent\parent\Common\TypeSystem\IL\Stubs\AsyncThunks.cs (2)
72for (int iArg = 0; iArg < sig.Length; iArg++) 284for (int iArg = 0; iArg < sig.Length; iArg++)
parent\parent\Common\TypeSystem\IL\Stubs\UnsafeIntrinsics.cs (5)
101Debug.Assert(method.Signature.IsStatic && method.Signature.Length == 2); 119Debug.Assert(method.Signature.IsStatic && method.Signature.Length == 2); 139Debug.Assert(method.Signature.IsStatic && method.Signature.Length == (write ? 2 : 1)); 157Debug.Assert(method.Signature.IsStatic && method.Signature.Length == 2); 212Debug.Assert(method.Signature.IsStatic && method.Signature.Length == 1);
parent\parent\Common\TypeSystem\Interop\IL\Marshaller.cs (1)
393Marshaller[] marshallers = new Marshaller[methodSig.Length + 1];
parent\parent\Common\TypeSystem\MetadataEmitter\TypeSystemMetadataEmitter.cs (2)
697signatureBuilder.WriteCompressedInteger(sig.Length); 699for (int i = 0; i < sig.Length; i++)
PortableCallHelpers\PInvokeCollector.cs (1)
74Key = $"{MethodName}#{method.Signature.Length}:{AssemblyName}:{Namespace}:{TypeName}";
PortableCallHelpers\PInvokeTableGenerator.cs (5)
200int firstNumArgs = candidates[0].Method.Signature.Length; 203if (candidates[i].Method.Signature.Length != firstNumArgs) 267int parameterCount = cb.Parameters.Length; 381string paramTypes = cb.Parameters.Length > 0 470for (int i = 0; i < signature.Length; i++)
src\runtime\src\coreclr\tools\Common\Compiler\GenericCycleDetection\GraphBuilder.cs (2)
292|| interfaceMethod.Signature.Length != method.Signature.Length
ILCompiler.RyuJit (9)
Compiler\DependencyAnalysis\MethodCodeNode.cs (2)
192var parameterNames = new string[sig.Length + offset]; 245int localNumber = (int)varInfo.VarNumber - sig.Length - offset;
JitInterface\CorInfoImpl.RyuJit.cs (1)
982ArrayBuilder<DebugVarRangeInfo>[] debugVarInfoBuilders = new ArrayBuilder<DebugVarRangeInfo>[(sig.IsStatic ? 0 : 1) + sig.Length + numLocals];
parent\parent\Common\JitInterface\CorInfoImpl.cs (1)
945sig->numArgs = (ushort)signature.Length;
parent\parent\Common\JitInterface\JitTypeNameFormatter.cs (1)
50for (int i = 0; i < signature.Length; i++)
parent\parent\Common\TypeSystem\IL\HelperExtensions.cs (1)
57Debug.Assert(method.Signature.Length == 0 && method.Signature.IsStatic);
parent\parent\Common\TypeSystem\IL\Stubs\TypeSystemThrowingILEmitter.cs (3)
34if (helper.Signature.Length != exception.Arguments.Count + 1) 60if (helper.Signature.Length != exception.Arguments.Count + 1) 78Debug.Assert(helper.Signature.Length == exception.Arguments.Count + 1);
ILCompiler.TypeSystem (36)
parent\parent\Common\TypeSystem\Canon\FunctionPointerType.Canon.cs (2)
14for (int i = 0; i < _signature.Length; i++) 25for (int i = 0; i < _signature.Length; i++)
parent\parent\Common\TypeSystem\Common\ConstructedTypeRewritingHelpers.cs (2)
49for (int paramIndex = 0; paramIndex < functionPointerSignature.Length; paramIndex++) 131for (int paramIndex = 0; paramIndex < oldSig.Length; paramIndex++)
parent\parent\Common\TypeSystem\Common\FunctionPointerType.cs (1)
49for (int i = 0; i < _signature.Length; i++)
parent\parent\Common\TypeSystem\Common\InstantiatedMethod.cs (1)
73for (int i = 0; i < template.Length; i++)
parent\parent\Common\TypeSystem\Common\MethodDesc.cs (1)
387return _index < _signature.Length;
parent\parent\Common\TypeSystem\Common\MethodForInstantiatedType.cs (1)
66for (int i = 0; i < template.Length; i++)
parent\parent\Common\TypeSystem\Common\ThrowHelper.Common.cs (1)
114for (int i = 0; i < signature.Length; i++)
parent\parent\Common\TypeSystem\Common\TypeSystemHelpers.cs (1)
339for (int i = 0; i < pointerSignature.Length; i++)
parent\parent\Common\TypeSystem\Common\Utilities\CSharpTypeNameFormatter.cs (1)
63for (int i = 0; i < signature.Length; i++)
parent\parent\Common\TypeSystem\Common\Utilities\DebugNameFormatter.cs (1)
54for (int i = 0; i < signature.Length; i++)
parent\parent\Common\TypeSystem\Common\Utilities\ExceptionTypeNameFormatter.cs (1)
48for (int i = 0; i < signature.Length; i++)
parent\parent\Common\TypeSystem\Ecma\EcmaMethod.cs (1)
356&& Signature.Length == 0
parent\parent\Common\TypeSystem\Ecma\EcmaSignatureEncoder.cs (3)
36methodSigEncoder.Parameters(signature.Length, out returnTypeEncoder, out parametersEncoder); 42for (int i = 0; i < signature.Length; i++) 118for (int i = 0; i < fptrType.Signature.Length; i++)
parent\parent\Common\TypeSystem\Ecma\EcmaType.cs (1)
393if (sig.Length != 0)
parent\parent\Common\TypeSystem\IL\HelperExtensions.cs (1)
57Debug.Assert(method.Signature.Length == 0 && method.Signature.IsStatic);
parent\parent\Common\TypeSystem\IL\ILDisassembler.cs (2)
129for (int i = 0; i < signature.Length; i++) 483for (int i = 0; i < signature.Length; i++)
parent\parent\Common\TypeSystem\IL\ILStackHelper.cs (1)
256int adjustment = sig.Length;
parent\parent\Common\TypeSystem\IL\InstantiatedMethodIL.cs (1)
110for (int i = 0; i < template.Length; i++)
parent\parent\Common\TypeSystem\IL\MethodILDebugView.cs (1)
50for (int i = 0; i < owningMethod.Signature.Length; i++)
parent\parent\Common\TypeSystem\IL\UnsafeAccessors.cs (10)
57if (context.DeclarationSignature.Length > 0) 122if (context.DeclarationSignature.Length != 1 || retType.IsVoid) 343if (declSig.Length != maybeSig.Length) 360if (declSig.Length != (maybeSig.Length + 1)) 372for (int i = 0; i < maybeSig.Length; ++i) 559if (parameter.SequenceNumber > originalSignature.Length) 601context.ReplacedSignatureElements ??= new BitArray(originalSignature.Length + 1, false); 726int stubArgCount = context.DeclarationSignature.Length;
parent\parent\Common\TypeSystem\RuntimeDetermined\FunctionPointerType.RuntimeDetermined.cs (2)
17for (int i = 0; i < _signature.Length; i++) 29for (int i = 0; i < _signature.Length; i++)