27 references to MethodSemanticsAttributes
Microsoft.CodeAnalysis (9)
PEWriter\MetadataWriter.cs (9)
2670MethodSemanticsAttributes semantics; 2673semantics = MethodSemanticsAttributes.Setter; 2677semantics = MethodSemanticsAttributes.Getter; 2681semantics = MethodSemanticsAttributes.Other; 2702MethodSemanticsAttributes semantics; 2705semantics = MethodSemanticsAttributes.Adder; 2709semantics = MethodSemanticsAttributes.Remover; 2713semantics = MethodSemanticsAttributes.Raiser; 2717semantics = MethodSemanticsAttributes.Other;
System.Reflection.Emit (8)
System\Reflection\Emit\ModuleBuilderImpl.cs (8)
242AddMethodSemantics(eventHandle, MethodSemanticsAttributes.Adder, aMb._handle); 247AddMethodSemantics(eventHandle, MethodSemanticsAttributes.Raiser, rMb._handle); 252AddMethodSemantics(eventHandle, MethodSemanticsAttributes.Remover, remMb._handle); 259AddMethodSemantics(eventHandle, MethodSemanticsAttributes.Other, method._handle); 280AddMethodSemantics(propertyHandle, MethodSemanticsAttributes.Getter, gMb._handle); 285AddMethodSemantics(propertyHandle, MethodSemanticsAttributes.Setter, sMb._handle); 292AddMethodSemantics(propertyHandle, MethodSemanticsAttributes.Other, method._handle); 889private void AddMethodSemantics(EntityHandle parentHandle, MethodSemanticsAttributes attribute, MethodDefinitionHandle methodHandle) =>
System.Reflection.Metadata (10)
System\Reflection\Metadata\Ecma335\MetadataBuilder.Tables.cs (1)
693public void AddMethodSemantics(EntityHandle association, MethodSemanticsAttributes semantics, MethodDefinitionHandle methodDefinition)
System\Reflection\Metadata\Internal\Tables.cs (2)
1513internal MethodSemanticsAttributes GetSemantics(int rowId) 1516return (MethodSemanticsAttributes)this.Block.PeekUInt16(rowOffset + _SemanticsFlagOffset);
System\Reflection\Metadata\TypeSystem\EventDefinition.cs (4)
82case MethodSemanticsAttributes.Adder: 86case MethodSemanticsAttributes.Remover: 90case MethodSemanticsAttributes.Raiser: 94case MethodSemanticsAttributes.Other:
System\Reflection\Metadata\TypeSystem\PropertyDefinition.cs (3)
93case MethodSemanticsAttributes.Getter: 97case MethodSemanticsAttributes.Setter: 101case MethodSemanticsAttributes.Other: