27 references to MethodSemanticsAttributes
Microsoft.CodeAnalysis (9)
PEWriter\MetadataWriter.cs (9)
2646
MethodSemanticsAttributes
semantics;
2649
semantics =
MethodSemanticsAttributes
.Setter;
2653
semantics =
MethodSemanticsAttributes
.Getter;
2657
semantics =
MethodSemanticsAttributes
.Other;
2672
MethodSemanticsAttributes
semantics;
2675
semantics =
MethodSemanticsAttributes
.Adder;
2679
semantics =
MethodSemanticsAttributes
.Remover;
2683
semantics =
MethodSemanticsAttributes
.Raiser;
2687
semantics =
MethodSemanticsAttributes
.Other;
System.Reflection.Emit (8)
System\Reflection\Emit\ModuleBuilderImpl.cs (8)
241
AddMethodSemantics(eventHandle,
MethodSemanticsAttributes
.Adder, aMb._handle);
246
AddMethodSemantics(eventHandle,
MethodSemanticsAttributes
.Raiser, rMb._handle);
251
AddMethodSemantics(eventHandle,
MethodSemanticsAttributes
.Remover, remMb._handle);
258
AddMethodSemantics(eventHandle,
MethodSemanticsAttributes
.Other, method._handle);
279
AddMethodSemantics(propertyHandle,
MethodSemanticsAttributes
.Getter, gMb._handle);
284
AddMethodSemantics(propertyHandle,
MethodSemanticsAttributes
.Setter, sMb._handle);
291
AddMethodSemantics(propertyHandle,
MethodSemanticsAttributes
.Other, method._handle);
899
private void AddMethodSemantics(EntityHandle parentHandle,
MethodSemanticsAttributes
attribute, MethodDefinitionHandle methodHandle) =>
System.Reflection.Metadata (10)
System\Reflection\Metadata\Ecma335\MetadataBuilder.Tables.cs (1)
693
public void AddMethodSemantics(EntityHandle association,
MethodSemanticsAttributes
semantics, MethodDefinitionHandle methodDefinition)
System\Reflection\Metadata\Internal\Tables.cs (2)
1467
internal
MethodSemanticsAttributes
GetSemantics(int rowId)
1470
return (
MethodSemanticsAttributes
)this.Block.PeekUInt16(rowOffset + _SemanticsFlagOffset);
System\Reflection\Metadata\TypeSystem\EventDefinition.cs (4)
74
case
MethodSemanticsAttributes
.Adder:
78
case
MethodSemanticsAttributes
.Remover:
82
case
MethodSemanticsAttributes
.Raiser:
86
case
MethodSemanticsAttributes
.Other:
System\Reflection\Metadata\TypeSystem\PropertyDefinition.cs (3)
85
case
MethodSemanticsAttributes
.Getter:
89
case
MethodSemanticsAttributes
.Setter:
93
case
MethodSemanticsAttributes
.Other: