135 references to MethodSemantics
Microsoft.CodeAnalysis (4)
Emit\EditAndContinue\DeltaMetadataWriter.cs (3)
1134PopulateEncLogTableRows(TableIndex.MethodSemantics, previousSizes, deltaSizes); 1275case TableIndex.MethodSemantics: 1370TableIndex.MethodSemantics,
PEWriter\MetadataWriter.cs (1)
2651metadata.SetCapacity(TableIndex.MethodSemantics, propertyDefs.Count * 2 + eventDefs.Count * 2);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (100)
Emit\EditAndContinue\EditAndContinueStateMachineTests.cs (6)
115Row(1, TableIndex.MethodSemantics, EditAndContinueOperation.Default), 116Row(2, TableIndex.MethodSemantics, EditAndContinueOperation.Default), 165Handle(1, TableIndex.MethodSemantics), 166Handle(2, TableIndex.MethodSemantics), 408Row(1, TableIndex.MethodSemantics, EditAndContinueOperation.Default), 409Row(2, TableIndex.MethodSemantics, EditAndContinueOperation.Default),
Emit\EditAndContinue\EditAndContinueTests.cs (94)
2774Row(2, TableIndex.MethodSemantics, EditAndContinueOperation.Default) 2781Handle(2, TableIndex.MethodSemantics) 3231Row(2, TableIndex.MethodSemantics, EditAndContinueOperation.Default) 3249Handle(2, TableIndex.MethodSemantics) 3312Row(3, TableIndex.MethodSemantics, EditAndContinueOperation.Default) 3330Handle(3, TableIndex.MethodSemantics) 3925Row(1, TableIndex.MethodSemantics, EditAndContinueOperation.Default)); 3932Handle(1, TableIndex.MethodSemantics)); 3972Row(2, TableIndex.MethodSemantics, EditAndContinueOperation.Default), 3973Row(3, TableIndex.MethodSemantics, EditAndContinueOperation.Default)); 3985Handle(2, TableIndex.MethodSemantics), 3986Handle(3, TableIndex.MethodSemantics)); 4095Row(3, TableIndex.MethodSemantics, EditAndContinueOperation.Default), 4096Row(4, TableIndex.MethodSemantics, EditAndContinueOperation.Default) 4106Handle(3, TableIndex.MethodSemantics), 4107Handle(4, TableIndex.MethodSemantics), 4248Row(3, TableIndex.MethodSemantics, EditAndContinueOperation.Default), 4249Row(4, TableIndex.MethodSemantics, EditAndContinueOperation.Default) 4262Handle(3, TableIndex.MethodSemantics), 4263Handle(4, TableIndex.MethodSemantics) 4395Row(3, TableIndex.MethodSemantics, EditAndContinueOperation.Default), 4396Row(4, TableIndex.MethodSemantics, EditAndContinueOperation.Default), 4405Handle(3, TableIndex.MethodSemantics), 4406Handle(4, TableIndex.MethodSemantics), 4534Row(3, TableIndex.MethodSemantics, EditAndContinueOperation.Default), 4535Row(4, TableIndex.MethodSemantics, EditAndContinueOperation.Default), 4544Handle(3, TableIndex.MethodSemantics), 4545Handle(4, TableIndex.MethodSemantics), 4618Row(3, TableIndex.MethodSemantics, EditAndContinueOperation.Default), 4619Row(4, TableIndex.MethodSemantics, EditAndContinueOperation.Default) 4632Handle(3, TableIndex.MethodSemantics), 4633Handle(4, TableIndex.MethodSemantics) 4706Row(3, TableIndex.MethodSemantics, EditAndContinueOperation.Default), 4707Row(4, TableIndex.MethodSemantics, EditAndContinueOperation.Default) 4719Handle(3, TableIndex.MethodSemantics), 4720Handle(4, TableIndex.MethodSemantics) 4790Row(3, TableIndex.MethodSemantics, EditAndContinueOperation.Default), 4791Row(4, TableIndex.MethodSemantics, EditAndContinueOperation.Default) 4801Handle(3, TableIndex.MethodSemantics), 4802Handle(4, TableIndex.MethodSemantics) 4893Row(3, TableIndex.MethodSemantics, EditAndContinueOperation.Default), 4894Row(4, TableIndex.MethodSemantics, EditAndContinueOperation.Default) 4913Handle(3, TableIndex.MethodSemantics), 4914Handle(4, TableIndex.MethodSemantics) 4991Row(5, TableIndex.MethodSemantics, EditAndContinueOperation.Default), 4992Row(6, TableIndex.MethodSemantics, EditAndContinueOperation.Default), 5004Handle(5, TableIndex.MethodSemantics), 5005Handle(6, TableIndex.MethodSemantics), 5102Row(3, TableIndex.MethodSemantics, EditAndContinueOperation.Default), 5103Row(4, TableIndex.MethodSemantics, EditAndContinueOperation.Default) 5122Handle(3, TableIndex.MethodSemantics), 5123Handle(4, TableIndex.MethodSemantics) 5200Row(5, TableIndex.MethodSemantics, EditAndContinueOperation.Default), 5201Row(6, TableIndex.MethodSemantics, EditAndContinueOperation.Default), 5213Handle(5, TableIndex.MethodSemantics), 5214Handle(6, TableIndex.MethodSemantics) 5386Row(2, TableIndex.MethodSemantics, EditAndContinueOperation.Default) 5399Handle(2, TableIndex.MethodSemantics) 5465Row(3, TableIndex.MethodSemantics, EditAndContinueOperation.Default) 5474Handle(3, TableIndex.MethodSemantics), 5527Row(4, TableIndex.MethodSemantics, EditAndContinueOperation.Default) 5535Handle(4, TableIndex.MethodSemantics) 5693Row(1, TableIndex.MethodSemantics, EditAndContinueOperation.Default), 5694Row(2, TableIndex.MethodSemantics, EditAndContinueOperation.Default)); 5709Handle(1, TableIndex.MethodSemantics), 5710Handle(2, TableIndex.MethodSemantics)); 5747Row(3, TableIndex.MethodSemantics, EditAndContinueOperation.Default), 5748Row(4, TableIndex.MethodSemantics, EditAndContinueOperation.Default)); 5762Handle(3, TableIndex.MethodSemantics), 5763Handle(4, TableIndex.MethodSemantics)); 5915Row(3, TableIndex.MethodSemantics, EditAndContinueOperation.Default), 5916Row(4, TableIndex.MethodSemantics, EditAndContinueOperation.Default) 5937Handle(3, TableIndex.MethodSemantics), 5938Handle(4, TableIndex.MethodSemantics) 6049Row(5, TableIndex.MethodSemantics, EditAndContinueOperation.Default), 6050Row(6, TableIndex.MethodSemantics, EditAndContinueOperation.Default), 6064Handle(5, TableIndex.MethodSemantics), 6065Handle(6, TableIndex.MethodSemantics), 6640Row(3, TableIndex.MethodSemantics, EditAndContinueOperation.Default), 6641Row(4, TableIndex.MethodSemantics, EditAndContinueOperation.Default)); 6646Handle(3, TableIndex.MethodSemantics), 6647Handle(4, TableIndex.MethodSemantics)); 7663Row(4, TableIndex.MethodSemantics, EditAndContinueOperation.Default), 7664Row(5, TableIndex.MethodSemantics, EditAndContinueOperation.Default), 7665Row(6, TableIndex.MethodSemantics, EditAndContinueOperation.Default), 7690Handle(4, TableIndex.MethodSemantics), 7691Handle(5, TableIndex.MethodSemantics), 7692Handle(6, TableIndex.MethodSemantics), 15965Row(2, TableIndex.MethodSemantics, EditAndContinueOperation.Default), 15966Row(3, TableIndex.MethodSemantics, EditAndContinueOperation.Default) 16054Row(6, TableIndex.MethodSemantics, EditAndContinueOperation.Default), 16055Row(7, TableIndex.MethodSemantics, EditAndContinueOperation.Default), 16176Row(4, TableIndex.MethodSemantics, EditAndContinueOperation.Default), 16177Row(5, TableIndex.MethodSemantics, EditAndContinueOperation.Default)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (19)
Emit\EditAndContinue\EditAndContinueStateMachineTests.vb (6)
140Row(3, TableIndex.MethodSemantics, EditAndContinueOperation.Default), 141Row(4, TableIndex.MethodSemantics, EditAndContinueOperation.Default), 216Handle(3, TableIndex.MethodSemantics), 217Handle(4, TableIndex.MethodSemantics), 794Row(1, TableIndex.MethodSemantics, EditAndContinueOperation.Default), 795Row(2, TableIndex.MethodSemantics, EditAndContinueOperation.Default),
Emit\EditAndContinue\EditAndContinueTests.vb (13)
1536Row(4, TableIndex.MethodSemantics, EditAndContinueOperation.Default), 1537Row(5, TableIndex.MethodSemantics, EditAndContinueOperation.Default), 1538Row(6, TableIndex.MethodSemantics, EditAndContinueOperation.Default) 1651Row(4, TableIndex.MethodSemantics, EditAndContinueOperation.Default), 1652Row(5, TableIndex.MethodSemantics, EditAndContinueOperation.Default), 1653Row(6, TableIndex.MethodSemantics, EditAndContinueOperation.Default) 1742Row(7, TableIndex.MethodSemantics, EditAndContinueOperation.Default), 1743Row(8, TableIndex.MethodSemantics, EditAndContinueOperation.Default), 1744Row(9, TableIndex.MethodSemantics, EditAndContinueOperation.Default) 2347Row(3, TableIndex.MethodSemantics, EditAndContinueOperation.Default), ' Action<bool> P <-> Action<bool> get_P 2348Row(4, TableIndex.MethodSemantics, EditAndContinueOperation.Default) ' Action<bool> P <-> set_P(Action<bool>) 2443Row(5, TableIndex.MethodSemantics, EditAndContinueOperation.Default), ' Action<int> P <-> Action<int> get_P 2444Row(6, TableIndex.MethodSemantics, EditAndContinueOperation.Default) ' Action<int> P <-> set_P(Action<int>)
System.Reflection.Metadata (12)
System\Reflection\Metadata\Ecma335\MetadataBuilder.Tables.cs (4)
166case TableIndex.MethodSemantics: SetTableCapacity(_methodSemanticsTable, rowCount); break; 250case TableIndex.MethodSemantics : return _methodSemanticsTable.Count; 322rowCounts[(int)TableIndex.MethodSemantics] = _methodSemanticsTable.Count; 1742if (metadataSizes.IsPresent(TableIndex.MethodSemantics))
System\Reflection\Metadata\Ecma335\MetadataReaderExtensions.cs (2)
73TableIndex.MethodSemantics => reader.MethodSemanticsTable.RowSize, 154TableIndex.MethodSemantics => reader.MethodSemanticsTable.Block,
System\Reflection\Metadata\Ecma335\MetadataSizes.cs (2)
301UL << (int)TableIndex.MethodSemantics | 296size += GetTableSize(TableIndex.MethodSemantics, 2 + methodDefReferenceSize + hasSemanticsCodedIndexSize);
System\Reflection\Metadata\Internal\MetadataFlags.cs (2)
42MethodSemantics = 1UL << TableIndex.MethodSemantics, 219internal const uint MethodSemantics = (uint)TableIndex.MethodSemantics;
System\Reflection\Metadata\Internal\Tables.cs (1)
1503Throw.TableNotSorted(TableIndex.MethodSemantics);
System\Reflection\Metadata\MetadataReader.cs (1)
683this.MethodSemanticsTable = new MethodSemanticsTableReader(rowCounts[(int)TableIndex.MethodSemantics], IsDeclaredSorted(TableMask.MethodSemantics), GetReferenceSize(rowCounts, TableIndex.MethodDef), hasSemanticsRefSize, metadataTablesMemoryBlock, totalRequiredSize);