27 references to MethodSemanticsAttributes
Microsoft.CodeAnalysis (9)
PEWriter\MetadataWriter.cs (9)
2646MethodSemanticsAttributes semantics; 2649semantics = MethodSemanticsAttributes.Setter; 2653semantics = MethodSemanticsAttributes.Getter; 2657semantics = MethodSemanticsAttributes.Other; 2672MethodSemanticsAttributes semantics; 2675semantics = MethodSemanticsAttributes.Adder; 2679semantics = MethodSemanticsAttributes.Remover; 2683semantics = MethodSemanticsAttributes.Raiser; 2687semantics = MethodSemanticsAttributes.Other;
System.Reflection.Emit (8)
System\Reflection\Emit\ModuleBuilderImpl.cs (8)
241AddMethodSemantics(eventHandle, MethodSemanticsAttributes.Adder, aMb._handle); 246AddMethodSemantics(eventHandle, MethodSemanticsAttributes.Raiser, rMb._handle); 251AddMethodSemantics(eventHandle, MethodSemanticsAttributes.Remover, remMb._handle); 258AddMethodSemantics(eventHandle, MethodSemanticsAttributes.Other, method._handle); 279AddMethodSemantics(propertyHandle, MethodSemanticsAttributes.Getter, gMb._handle); 284AddMethodSemantics(propertyHandle, MethodSemanticsAttributes.Setter, sMb._handle); 291AddMethodSemantics(propertyHandle, MethodSemanticsAttributes.Other, method._handle); 896private 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)
1467internal MethodSemanticsAttributes GetSemantics(int rowId) 1470return (MethodSemanticsAttributes)this.Block.PeekUInt16(rowOffset + _SemanticsFlagOffset);
System\Reflection\Metadata\TypeSystem\EventDefinition.cs (4)
74case MethodSemanticsAttributes.Adder: 78case MethodSemanticsAttributes.Remover: 82case MethodSemanticsAttributes.Raiser: 86case MethodSemanticsAttributes.Other:
System\Reflection\Metadata\TypeSystem\PropertyDefinition.cs (3)
85case MethodSemanticsAttributes.Getter: 89case MethodSemanticsAttributes.Setter: 93case MethodSemanticsAttributes.Other: