326 references to Param
Microsoft.CodeAnalysis (6)
Emit\EditAndContinue\DeltaMetadataWriter.cs (5)
110_parameterDefs = new DefinitionIndex<IParameterDefinition>(this.TryGetExistingParameterDefIndex, sizes[(int)TableIndex.Param]); 153sizes[(int)TableIndex.Param] = _parameterDefs.GetAdded().Count; 1297case TableIndex.Param: 1298AddRowNumberTokens(tokens, TableIndex.Param, paramEncMapRows); 1346TableIndex.Param,
PEWriter\MetadataWriter.cs (1)
2741metadata.SetCapacity(TableIndex.Param, parameterDefs.Count);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (237)
Emit\EditAndContinue\EditAndContinueClosureTests.cs (43)
120Row(6, TableIndex.Param, EditAndContinueOperation.Default), 121Row(7, TableIndex.Param, EditAndContinueOperation.Default), 122Row(8, TableIndex.Param, EditAndContinueOperation.Default), 336Row(1, TableIndex.Param, EditAndContinueOperation.Default)); 409Row(1, TableIndex.Param, EditAndContinueOperation.Default)); 684Row(1, TableIndex.Param, EditAndContinueOperation.Default), 739Row(1, TableIndex.Param, EditAndContinueOperation.Default), 796Row(1, TableIndex.Param, EditAndContinueOperation.Default)); 938Row(1, TableIndex.Param, EditAndContinueOperation.Default), 1020Row(2, TableIndex.Param, EditAndContinueOperation.Default), 1021Row(3, TableIndex.Param, EditAndContinueOperation.Default)); 1146Row(6, TableIndex.Param, EditAndContinueOperation.Default), 1147Row(7, TableIndex.Param, EditAndContinueOperation.Default), 1148Row(8, TableIndex.Param, EditAndContinueOperation.Default), 1149Row(9, TableIndex.Param, EditAndContinueOperation.Default), 1150Row(10, TableIndex.Param, EditAndContinueOperation.Default), 1151Row(11, TableIndex.Param, EditAndContinueOperation.Default), 1152Row(12, TableIndex.Param, EditAndContinueOperation.Default)); 1238Row(5, TableIndex.Param, EditAndContinueOperation.Default), 1239Row(6, TableIndex.Param, EditAndContinueOperation.Default), 1240Row(7, TableIndex.Param, EditAndContinueOperation.Default), 1241Row(8, TableIndex.Param, EditAndContinueOperation.Default), 1242Row(9, TableIndex.Param, EditAndContinueOperation.Default), 1243Row(10, TableIndex.Param, EditAndContinueOperation.Default), 1321Row(5, TableIndex.Param, EditAndContinueOperation.Default), 1322Row(6, TableIndex.Param, EditAndContinueOperation.Default), 1410Row(2, TableIndex.Param, EditAndContinueOperation.Default), 1411Row(3, TableIndex.Param, EditAndContinueOperation.Default), 1412Row(4, TableIndex.Param, EditAndContinueOperation.Default), 1413Row(5, TableIndex.Param, EditAndContinueOperation.Default), 1496Row(2, TableIndex.Param, EditAndContinueOperation.Default), 1497Row(3, TableIndex.Param, EditAndContinueOperation.Default), 1498Row(4, TableIndex.Param, EditAndContinueOperation.Default), 1499Row(5, TableIndex.Param, EditAndContinueOperation.Default), 1577Row(2, TableIndex.Param, EditAndContinueOperation.Default), 1578Row(3, TableIndex.Param, EditAndContinueOperation.Default), 2816Row(2, TableIndex.Param, EditAndContinueOperation.Default), 2817Row(3, TableIndex.Param, EditAndContinueOperation.Default)); 4409Row(1, TableIndex.Param, EditAndContinueOperation.Default)); 4498Row(1, TableIndex.Param, EditAndContinueOperation.Default)); 4601Row(1, TableIndex.Param, EditAndContinueOperation.Default) 4654Row(1, TableIndex.Param, EditAndContinueOperation.Default)); 4713Row(1, TableIndex.Param, EditAndContinueOperation.Default));
Emit\EditAndContinue\EditAndContinueStateMachineTests.cs (11)
105Row(1, TableIndex.Param, EditAndContinueOperation.Default), 145Handle(1, TableIndex.Param), 278Row(1, TableIndex.Param, EditAndContinueOperation.Default), 398Row(1, TableIndex.Param, EditAndContinueOperation.Default), 487Row(1, TableIndex.Param, EditAndContinueOperation.Default), 671Row(1, TableIndex.Param, EditAndContinueOperation.Default), 672Row(2, TableIndex.Param, EditAndContinueOperation.Default), 673Row(3, TableIndex.Param, EditAndContinueOperation.Default), 3696Row(1, TableIndex.Param, EditAndContinueOperation.Default), 3798Row(1, TableIndex.Param, EditAndContinueOperation.Default), 3907Row(1, TableIndex.Param, EditAndContinueOperation.Default),
Emit\EditAndContinue\EditAndContinueTests.cs (183)
599Row(1, TableIndex.Param, EditAndContinueOperation.Default)); 603Handle(1, TableIndex.Param), 625Row(1, TableIndex.Param, EditAndContinueOperation.Default)); 629Handle(1, TableIndex.Param), 671Row(1, TableIndex.Param, EditAndContinueOperation.Default), 677Handle(1, TableIndex.Param), 718Row(1, TableIndex.Param, EditAndContinueOperation.Default) 723Handle(1, TableIndex.Param) 765Row(1, TableIndex.Param, EditAndContinueOperation.Default), 771Handle(1, TableIndex.Param), 1932Row(1, TableIndex.Param, EditAndContinueOperation.Default), 1938Handle(1, TableIndex.Param), 3026new CustomAttributeRow(Handle(1, TableIndex.Param), Handle(5, TableIndex.MemberRef))); 3037Row(1, TableIndex.Param, EditAndContinueOperation.Default), // Update existing param 3038Row(2, TableIndex.Param, EditAndContinueOperation.Default), // Update existing param 3040Row(3, TableIndex.Param, EditAndContinueOperation.Default), // Support for the above 3048Handle(1, TableIndex.Param), 3049Handle(2, TableIndex.Param), 3050Handle(3, TableIndex.Param), 3073new CustomAttributeRow(Handle(3, TableIndex.Param), Handle(6, TableIndex.MemberRef))); 3081Row(3, TableIndex.Param, EditAndContinueOperation.Default), // Update existing param, from the first delta 3088Handle(3, TableIndex.Param), 3136new CustomAttributeRow(Handle(3, TableIndex.Param), Handle(1, TableIndex.MethodDef)), 3137new CustomAttributeRow(Handle(4, TableIndex.Param), Handle(1, TableIndex.MethodDef))); 3147Row(3, TableIndex.Param, EditAndContinueOperation.Default), // Updating existing parameter defs 3148Row(4, TableIndex.Param, EditAndContinueOperation.Default), 3149Row(5, TableIndex.Param, EditAndContinueOperation.Default), 3150Row(6, TableIndex.Param, EditAndContinueOperation.Default), 3161Handle(3, TableIndex.Param), 3162Handle(4, TableIndex.Param), 3163Handle(5, TableIndex.Param), 3164Handle(6, TableIndex.Param), 3471Row(1, TableIndex.Param, EditAndContinueOperation.Default), 3473Row(2, TableIndex.Param, EditAndContinueOperation.Default), 3479Handle(1, TableIndex.Param), 3480Handle(2, TableIndex.Param), 3504Row(1, TableIndex.Param, EditAndContinueOperation.Default), 3505Row(2, TableIndex.Param, EditAndContinueOperation.Default), 3511Handle(1, TableIndex.Param), 3512Handle(2, TableIndex.Param), 3672Row(1, TableIndex.Param, EditAndContinueOperation.Default), 3674Row(2, TableIndex.Param, EditAndContinueOperation.Default), 3676Row(3, TableIndex.Param, EditAndContinueOperation.Default), 3737Row(3, TableIndex.Param, EditAndContinueOperation.Default), 3739Row(4, TableIndex.Param, EditAndContinueOperation.Default), 3767Handle(3, TableIndex.Param), 3768Handle(4, TableIndex.Param), 3810Row(5, TableIndex.Param, EditAndContinueOperation.Default), 4039Row(1, TableIndex.Param, EditAndContinueOperation.Default), 4051Handle(1, TableIndex.Param), 4160Row(1, TableIndex.Param, EditAndContinueOperation.Default), 4170Handle(1, TableIndex.Param), 4305Row(1, TableIndex.Param, EditAndContinueOperation.Default), 4318Handle(1, TableIndex.Param), 4455Row(1, TableIndex.Param, EditAndContinueOperation.Default), 4463Handle(1, TableIndex.Param), 4590Row(1, TableIndex.Param, EditAndContinueOperation.Default), 4598Handle(1, TableIndex.Param), 4684Row(2, TableIndex.Param, EditAndContinueOperation.Default), 4703Handle(2, TableIndex.Param), 4784Row(1, TableIndex.Param, EditAndContinueOperation.Default), 4796Handle(1, TableIndex.Param), 4889Row(2, TableIndex.Param, EditAndContinueOperation.Default), 4908Handle(2, TableIndex.Param), 4986Row(1, TableIndex.Param, EditAndContinueOperation.Default), 4998Handle(1, TableIndex.Param), 5168Row(2, TableIndex.Param, EditAndContinueOperation.Default), 5179Handle(2, TableIndex.Param), 5245Row(1, TableIndex.Param, EditAndContinueOperation.Default), 5252Handle(1, TableIndex.Param), 5305Row(2, TableIndex.Param, EditAndContinueOperation.Default), 5311Handle(2, TableIndex.Param), 5371Row(1, TableIndex.Param, EditAndContinueOperation.Default), 5372Row(2, TableIndex.Param, EditAndContinueOperation.Default), 5373Row(3, TableIndex.Param, EditAndContinueOperation.Default), 5380Handle(1, TableIndex.Param), 5381Handle(2, TableIndex.Param), 5382Handle(3, TableIndex.Param), 5462Row(1, TableIndex.Param, EditAndContinueOperation.Default), 5464Row(2, TableIndex.Param, EditAndContinueOperation.Default), 5476Handle(1, TableIndex.Param), 5477Handle(2, TableIndex.Param), 5516Row(3, TableIndex.Param, EditAndContinueOperation.Default), 5518Row(4, TableIndex.Param, EditAndContinueOperation.Default), 5530Handle(3, TableIndex.Param), 5531Handle(4, TableIndex.Param), 5681Row(3, TableIndex.Param, EditAndContinueOperation.Default), 5683Row(4, TableIndex.Param, EditAndContinueOperation.Default), 5702Handle(3, TableIndex.Param), 5703Handle(4, TableIndex.Param), 5815Row(1, TableIndex.Param, EditAndContinueOperation.Default), 5816Row(2, TableIndex.Param, EditAndContinueOperation.Default), 5828Handle(1, TableIndex.Param), 5829Handle(2, TableIndex.Param), 6168Row(baseParameterCount + generation * 2 - 1, TableIndex.Param, EditAndContinueOperation.Default), 6170Row(baseParameterCount + generation * 2, TableIndex.Param, EditAndContinueOperation.Default), 6178Handle(baseParameterCount + generation * 2 - 1, TableIndex.Param), 6179Handle(baseParameterCount + generation * 2, TableIndex.Param), 6242Row(5, TableIndex.Param, EditAndContinueOperation.Default), 6243Row(6, TableIndex.Param, EditAndContinueOperation.Default), 6249Handle(5, TableIndex.Param), 6250Handle(6, TableIndex.Param), 7283Row(3, TableIndex.Param, EditAndContinueOperation.Default), 7284Row(4, TableIndex.Param, EditAndContinueOperation.Default), 7285Row(5, TableIndex.Param, EditAndContinueOperation.Default), 7286Row(6, TableIndex.Param, EditAndContinueOperation.Default), 7287Row(7, TableIndex.Param, EditAndContinueOperation.Default), 7288Row(8, TableIndex.Param, EditAndContinueOperation.Default)); 7418Row(8, TableIndex.Param, EditAndContinueOperation.Default), 7420Row(9, TableIndex.Param, EditAndContinueOperation.Default), 7442Handle(8, TableIndex.Param), 7443Handle(9, TableIndex.Param), 7762Row(1, TableIndex.Param, EditAndContinueOperation.Default), 7767Handle(1, TableIndex.Param), 15605Row(3, TableIndex.Param, EditAndContinueOperation.Default), 15613Handle(3, TableIndex.Param), 15735Row(9, TableIndex.Param, EditAndContinueOperation.Default), 15737Row(10, TableIndex.Param, EditAndContinueOperation.Default), 15739Row(11, TableIndex.Param, EditAndContinueOperation.Default), 15817Row(15, TableIndex.Param, EditAndContinueOperation.Default), 15819Row(16, TableIndex.Param, EditAndContinueOperation.Default), 15821Row(17, TableIndex.Param, EditAndContinueOperation.Default), 15823Row(18, TableIndex.Param, EditAndContinueOperation.Default), 15825Row(19, TableIndex.Param, EditAndContinueOperation.Default), 15827Row(20, TableIndex.Param, EditAndContinueOperation.Default), 15829Row(21, TableIndex.Param, EditAndContinueOperation.Default), 15948Row(12, TableIndex.Param, EditAndContinueOperation.Default), 16033Row(1, TableIndex.Param, EditAndContinueOperation.Default)); 16040Handle(1, TableIndex.Param), 16892Row(1, TableIndex.Param, EditAndContinueOperation.Default), 16893Row(2, TableIndex.Param, EditAndContinueOperation.Default), 16901Handle(1, TableIndex.Param), 16902Handle(2, TableIndex.Param), 16909new CustomAttributeRow(Handle(1, TableIndex.Param), Handle(2, TableIndex.MethodDef)), 16910new CustomAttributeRow(Handle(2, TableIndex.Param), Handle(2, TableIndex.MethodDef)), 16969Row(1, TableIndex.Param, EditAndContinueOperation.Default) 16974Handle(1, TableIndex.Param), 17079Row(1, TableIndex.Param, EditAndContinueOperation.Default) 17084Handle(1, TableIndex.Param), 18169Row(2, TableIndex.Param, EditAndContinueOperation.Default), 18179Handle(2, TableIndex.Param), 18237Row(1, TableIndex.Param, EditAndContinueOperation.Default) 18244Handle(1, TableIndex.Param) 18316Row(2, TableIndex.Param, EditAndContinueOperation.Default), 18327Handle(2, TableIndex.Param), 18388Row(1, TableIndex.Param, EditAndContinueOperation.Default), 18394Handle(1, TableIndex.Param), 18468Row(2, TableIndex.Param, EditAndContinueOperation.Default), 18470Row(3, TableIndex.Param, EditAndContinueOperation.Default), 18481Handle(2, TableIndex.Param), 18482Handle(3, TableIndex.Param), 18540Row(1, TableIndex.Param, EditAndContinueOperation.Default), 18546Handle(1, TableIndex.Param), 19365Row(1, TableIndex.Param, EditAndContinueOperation.Default), 19367Row(3, TableIndex.Param, EditAndContinueOperation.Default), 19376Handle(1, TableIndex.Param), 19377Handle(3, TableIndex.Param), 19426Row(1, TableIndex.Param, EditAndContinueOperation.Default), 19428Row(3, TableIndex.Param, EditAndContinueOperation.Default), 19437Handle(1, TableIndex.Param), 19438Handle(3, TableIndex.Param), 19515Row(2, TableIndex.Param, EditAndContinueOperation.Default), 19517Row(3, TableIndex.Param, EditAndContinueOperation.Default), 19519Row(4, TableIndex.Param, EditAndContinueOperation.Default), 19533Handle(2, TableIndex.Param), 19534Handle(3, TableIndex.Param), 19535Handle(4, TableIndex.Param), 19644Row(9, TableIndex.Param, EditAndContinueOperation.Default), 19646Row(10, TableIndex.Param, EditAndContinueOperation.Default), 19648Row(11, TableIndex.Param, EditAndContinueOperation.Default), 19650Row(12, TableIndex.Param, EditAndContinueOperation.Default), 19670Handle(9, TableIndex.Param), 19671Handle(10, TableIndex.Param), 19672Handle(11, TableIndex.Param), 19673Handle(12, TableIndex.Param), 19715Row(13, TableIndex.Param, EditAndContinueOperation.Default), 19717Row(14, TableIndex.Param, EditAndContinueOperation.Default), 19719Row(15, TableIndex.Param, EditAndContinueOperation.Default), 19721Row(16, TableIndex.Param, EditAndContinueOperation.Default), 19741Handle(13, TableIndex.Param), 19742Handle(14, TableIndex.Param), 19743Handle(15, TableIndex.Param), 19744Handle(16, TableIndex.Param),
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Attributes\AttributeTests_WellKnownAttributes.cs (1)
2136Assert.Equal(15, metadataReader.GetTableRowCount(TableIndex.Param));
Microsoft.CodeAnalysis.Test.Utilities (1)
Metadata\MetadataReaderUtils.cs (1)
36for (int i = 1, n = reader.GetTableRowCount(TableIndex.Param); i <= n; i++)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (63)
Attributes\AttributeTests_WellKnownAttributes.vb (2)
2973Assert.Equal(12, reader.GetTableRowCount(TableIndex.Param)) 3032Assert.Equal(3 + 3 + 1, reader.GetTableRowCount(TableIndex.Param))
Emit\EditAndContinue\EditAndContinueClosureTests.vb (22)
73Row(6, TableIndex.Param, EditAndContinueOperation.Default), 230Row(1, TableIndex.Param, EditAndContinueOperation.Default), 284Row(1, TableIndex.Param, EditAndContinueOperation.Default)) 369Row(2, TableIndex.Param, EditAndContinueOperation.Default), 370Row(3, TableIndex.Param, EditAndContinueOperation.Default)) 453Row(6, TableIndex.Param, EditAndContinueOperation.Default), 725Row(14, TableIndex.Param, EditAndContinueOperation.Default), 726Row(15, TableIndex.Param, EditAndContinueOperation.Default), 727Row(16, TableIndex.Param, EditAndContinueOperation.Default), 728Row(17, TableIndex.Param, EditAndContinueOperation.Default), 729Row(18, TableIndex.Param, EditAndContinueOperation.Default), 730Row(19, TableIndex.Param, EditAndContinueOperation.Default), 731Row(20, TableIndex.Param, EditAndContinueOperation.Default), 732Row(21, TableIndex.Param, EditAndContinueOperation.Default), 733Row(22, TableIndex.Param, EditAndContinueOperation.Default), 734Row(23, TableIndex.Param, EditAndContinueOperation.Default)) 791Row(5, TableIndex.Param, EditAndContinueOperation.Default)) 855Row(5, TableIndex.Param, EditAndContinueOperation.Default)) 923Row(5, TableIndex.Param, EditAndContinueOperation.Default), 924Row(6, TableIndex.Param, EditAndContinueOperation.Default), 925Row(7, TableIndex.Param, EditAndContinueOperation.Default), 926Row(8, TableIndex.Param, EditAndContinueOperation.Default))
Emit\EditAndContinue\EditAndContinueStateMachineTests.vb (15)
130Row(2, TableIndex.Param, EditAndContinueOperation.Default), 183Handle(2, TableIndex.Param), 480Row(1, TableIndex.Param, EditAndContinueOperation.Default), 513Handle(1, TableIndex.Param), 784Row(1, TableIndex.Param, EditAndContinueOperation.Default), 877Row(1, TableIndex.Param, EditAndContinueOperation.Default), 1088Row(1, TableIndex.Param, EditAndContinueOperation.Default), 1089Row(2, TableIndex.Param, EditAndContinueOperation.Default), 1090Row(3, TableIndex.Param, EditAndContinueOperation.Default), 3613Row(1, TableIndex.Param, EditAndContinueOperation.Default), 3720Row(1, TableIndex.Param, EditAndContinueOperation.Default), 3830Row(1, TableIndex.Param, EditAndContinueOperation.Default), 6389Row(1, TableIndex.Param, EditAndContinueOperation.Default), 6544Row(1, TableIndex.Param, EditAndContinueOperation.Default), 6702Row(1, TableIndex.Param, EditAndContinueOperation.Default),
Emit\EditAndContinue\EditAndContinueTests.vb (24)
269Row(1, TableIndex.Param, EditAndContinueOperation.Default)) 273Handle(1, TableIndex.Param), 312Row(1, TableIndex.Param, EditAndContinueOperation.Default) 318Handle(1, TableIndex.Param) 1532Row(1, TableIndex.Param, EditAndContinueOperation.Default), 1533Row(2, TableIndex.Param, EditAndContinueOperation.Default), 1643Row(3, TableIndex.Param, EditAndContinueOperation.Default), 1645Row(4, TableIndex.Param, EditAndContinueOperation.Default), 1731Row(1, TableIndex.Param, EditAndContinueOperation.Default), 1732Row(2, TableIndex.Param, EditAndContinueOperation.Default), 1965Row(baseParameterCount + generation * 2 - 1, TableIndex.Param, EditAndContinueOperation.Default), 1967Row(baseParameterCount + generation * 2, TableIndex.Param, EditAndContinueOperation.Default), 1974Handle(baseParameterCount + generation * 2 - 1, TableIndex.Param), 1975Handle(baseParameterCount + generation * 2, TableIndex.Param), 2033Row(5, TableIndex.Param, EditAndContinueOperation.Default), 2034Row(6, TableIndex.Param, EditAndContinueOperation.Default), 2040Handle(5, TableIndex.Param), 2041Handle(6, TableIndex.Param), 2334Row(2, TableIndex.Param, EditAndContinueOperation.Default), 2426Row(1, TableIndex.Param, EditAndContinueOperation.Default), 7617Row(1, TableIndex.Param, EditAndContinueOperation.Default), 7619Row(3, TableIndex.Param, EditAndContinueOperation.Default), 7628Handle(1, TableIndex.Param), 7629Handle(3, TableIndex.Param),
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Semantics\FieldInitializerBindingTests.vb (1)
1306Assert.Equal(FIELD_COUNT, reader.GetTableRowCount(TableIndex.Param))
System.Reflection.Metadata (17)
System\Reflection\Metadata\Ecma335\MetadataBuilder.Tables.cs (4)
152case TableIndex.Param: SetTableCapacity(_paramTable, rowCount); break; 256case TableIndex.Param : return _paramTable.Count; 328rowCounts[(int)TableIndex.Param] = _paramTable.Count; 1672if (metadataSizes.IsPresent(TableIndex.Param))
System\Reflection\Metadata\Ecma335\MetadataReaderExtensions.cs (2)
57TableIndex.Param => reader.ParamTable.RowSize, 138TableIndex.Param => reader.ParamTable.Block,
System\Reflection\Metadata\Ecma335\MetadataSizes.cs (6)
162HasConstantCodedIndexIsSmall = IsReferenceSmall(2, TableIndex.Field, TableIndex.Param, TableIndex.Property); 169TableIndex.Param, 188HasFieldMarshalCodedIndexIsSmall = IsReferenceSmall(1, TableIndex.Field, TableIndex.Param); 196ParameterReferenceIsSmall = IsReferenceSmall(0, TableIndex.Param); 213TableIndex.Param, 280size += GetTableSize(TableIndex.Param, 4 + stringReferenceSize);
System\Reflection\Metadata\Internal\MetadataFlags.cs (2)
26Param = 1UL << TableIndex.Param, 208internal const uint ParamDef = (uint)TableIndex.Param;
System\Reflection\Metadata\MetadataReader.cs (3)
579int paramRefSizeSorted = GetReferenceSize(rowCounts, TableIndex.ParamPtr) > SmallIndexSize ? LargeIndexSize : GetReferenceSize(rowCounts, TableIndex.Param); 626this.ParamPtrTable = new ParamPtrTableReader(rowCounts[(int)TableIndex.ParamPtr], GetReferenceSize(rowCounts, TableIndex.Param), metadataTablesMemoryBlock, totalRequiredSize); 629this.ParamTable = new ParamTableReader(rowCounts[(int)TableIndex.Param], stringHeapRefSize, metadataTablesMemoryBlock, totalRequiredSize);