17 references to MethodSemanticsAttributes
System.Private.CoreLib (17)
src\System\Reflection\Associates.cs (7)
146
MethodSemanticsAttributes
semantics = (
MethodSemanticsAttributes
)associatesData[i * 2 + 1];
180
if (semantics ==
MethodSemanticsAttributes
.Setter)
182
else if (semantics ==
MethodSemanticsAttributes
.Getter)
184
else if (semantics ==
MethodSemanticsAttributes
.Fire)
186
else if (semantics ==
MethodSemanticsAttributes
.AddOn)
188
else if (semantics ==
MethodSemanticsAttributes
.RemoveOn)
src\System\Reflection\Emit\RuntimeEventBuilder.cs (5)
48
private void SetMethodSemantics(MethodBuilder mdBuilder,
MethodSemanticsAttributes
semantics)
63
SetMethodSemantics(mdBuilder,
MethodSemanticsAttributes
.AddOn);
68
SetMethodSemantics(mdBuilder,
MethodSemanticsAttributes
.RemoveOn);
73
SetMethodSemantics(mdBuilder,
MethodSemanticsAttributes
.Fire);
78
SetMethodSemantics(mdBuilder,
MethodSemanticsAttributes
.Other);
src\System\Reflection\Emit\RuntimePropertyBuilder.cs (4)
69
private void SetMethodSemantics(MethodBuilder mdBuilder,
MethodSemanticsAttributes
semantics)
84
SetMethodSemantics(mdBuilder,
MethodSemanticsAttributes
.Getter);
90
SetMethodSemantics(mdBuilder,
MethodSemanticsAttributes
.Setter);
96
SetMethodSemantics(mdBuilder,
MethodSemanticsAttributes
.Other);
src\System\Reflection\Emit\RuntimeTypeBuilder.cs (1)
107
MethodSemanticsAttributes
semantics, int tkMethod);