48 references to MethodSemanticsAttributes
illink (8)
Mono.Cecil (40)
Mono.Cecil\AssemblyReader.cs (13)
1595 MethodSemanticsAttributes ReadMethodSemantics (MethodDefinition method) 1598 Row<MethodSemanticsAttributes, MetadataToken> row; 1600 return MethodSemanticsAttributes.None; 1605 case MethodSemanticsAttributes.AddOn: 1608 case MethodSemanticsAttributes.Fire: 1611 case MethodSemanticsAttributes.RemoveOn: 1614 case MethodSemanticsAttributes.Getter: 1617 case MethodSemanticsAttributes.Setter: 1620 case MethodSemanticsAttributes.Other: 1686 var semantics = metadata.Semantics = new Dictionary<uint, Row<MethodSemanticsAttributes, MetadataToken>> (0); 1689 var attributes = (MethodSemanticsAttributes) ReadUInt16 (); 1693 semantics [method_rid] = new Row<MethodSemanticsAttributes, MetadataToken> (attributes, association);
Mono.Cecil\AssemblyWriter.cs (8)
51 using MethodSemanticsRow = Row<MethodSemanticsAttributes, RID, CodedRID>; 1822 AddSemantic (MethodSemanticsAttributes.Getter, property, method); 1826 AddSemantic (MethodSemanticsAttributes.Setter, property, method); 1841 AddSemantic (MethodSemanticsAttributes.Other, owner, others [i]); 1864 AddSemantic (MethodSemanticsAttributes.AddOn, @event, method); 1868 AddSemantic (MethodSemanticsAttributes.Fire, @event, method); 1872 AddSemantic (MethodSemanticsAttributes.RemoveOn, @event, method); 1881 void AddSemantic (MethodSemanticsAttributes semantics, IMetadataTokenProvider provider, MethodDefinition method)
Mono.Cecil\MetadataSystem.cs (2)
57 internal Dictionary<uint, Row<MethodSemanticsAttributes, MetadataToken>> Semantics; 152 if (Semantics != null) Semantics = new Dictionary<uint, Row<MethodSemanticsAttributes, MetadataToken>> (capacity: 0);
Mono.Cecil\MethodDefinition.cs (17)
25 internal MethodSemanticsAttributes sem_attrs; 67 public MethodSemanticsAttributes SemanticsAttributes { 77 sem_attrs = MethodSemanticsAttributes.None; 453 get { return this.GetSemantics (MethodSemanticsAttributes.Setter); } 454 set { this.SetSemantics (MethodSemanticsAttributes.Setter, value); } 458 get { return this.GetSemantics (MethodSemanticsAttributes.Getter); } 459 set { this.SetSemantics (MethodSemanticsAttributes.Getter, value); } 463 get { return this.GetSemantics (MethodSemanticsAttributes.Other); } 464 set { this.SetSemantics (MethodSemanticsAttributes.Other, value); } 468 get { return this.GetSemantics (MethodSemanticsAttributes.AddOn); } 469 set { this.SetSemantics (MethodSemanticsAttributes.AddOn, value); } 473 get { return this.GetSemantics (MethodSemanticsAttributes.RemoveOn); } 474 set { this.SetSemantics (MethodSemanticsAttributes.RemoveOn, value); } 478 get { return this.GetSemantics (MethodSemanticsAttributes.Fire); } 479 set { this.SetSemantics (MethodSemanticsAttributes.Fire, value); } 551 public static bool GetSemantics (this MethodDefinition self, MethodSemanticsAttributes semantics) 556 public static void SetSemantics (this MethodDefinition self, MethodSemanticsAttributes semantics, bool value)