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