27 references to MethodSemanticsAttributes
Microsoft.CodeAnalysis (9)
PEWriter\MetadataWriter.cs (9)
2677MethodSemanticsAttributes semantics; 2680semantics = MethodSemanticsAttributes.Setter; 2684semantics = MethodSemanticsAttributes.Getter; 2688semantics = MethodSemanticsAttributes.Other; 2709MethodSemanticsAttributes semantics; 2712semantics = MethodSemanticsAttributes.Adder; 2716semantics = MethodSemanticsAttributes.Remover; 2720semantics = MethodSemanticsAttributes.Raiser; 2724semantics = 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)
78case MethodSemanticsAttributes.Adder: 82case MethodSemanticsAttributes.Remover: 86case MethodSemanticsAttributes.Raiser: 90case MethodSemanticsAttributes.Other:
System\Reflection\Metadata\TypeSystem\PropertyDefinition.cs (3)
89case MethodSemanticsAttributes.Getter: 93case MethodSemanticsAttributes.Setter: 97case MethodSemanticsAttributes.Other: