Linker.Steps\DescriptorMarker.cs (10)
99_context.Annotations.Mark(type, new DependencyInfo(DependencyKind.XmlDescriptor, _xmlDocumentLocation), GetMessageOriginForPosition(nav));
100_context.Annotations.SetPreserve(type, TypePreserve.All);
147_context.Annotations.SetPreserve(type, preserve);
157_context.Annotations.Mark(type, new DependencyInfo(DependencyKind.XmlDescriptor, _xmlDocumentLocation), GetMessageOriginForPosition(nav));
165_context.Annotations.Mark(parent, new DependencyInfo(DependencyKind.DeclaringType, currentType), GetMessageOriginForPosition(nav));
187_context.Annotations.Mark(field, new DependencyInfo(DependencyKind.XmlDescriptor, _xmlDocumentLocation), GetMessageOriginForPosition(nav));
195_context.Annotations.MarkIndirectlyCalledMethod(method);
196_context.Annotations.SetAction(method, MethodAction.Parse);
200_context.Annotations.AddPreservedMethod(type, method);
204_context.Annotations.Mark(method, new DependencyInfo(DependencyKind.XmlDescriptor, _xmlDocumentLocation), GetMessageOriginForPosition(nav));
Linker\SerializationMarker.cs (12)
147_context.Annotations.Mark(field, reason, origin);
153_context.Annotations.Mark(property.GetMethod, reason, origin);
155_context.Annotations.Mark(property.SetMethod, reason, origin);
159_context.Annotations.Mark(method, reason, origin);
164_context.Annotations.Mark(@event.AddMethod, reason, origin);
166_context.Annotations.Mark(@event.InvokeMethod, reason, origin);
168_context.Annotations.Mark(@event.RemoveMethod, reason, origin);
201_context.Annotations.Mark(type, typeReason, new MessageOrigin(reason.Source as ICustomAttributeProvider));
220_context.Annotations.Mark(field, new DependencyInfo(DependencyKind.SerializedMember, type), new MessageOrigin(type));
237_context.Annotations.Mark(get, new DependencyInfo(DependencyKind.SerializedMember, type), new MessageOrigin(type));
239_context.Annotations.Mark(set, new DependencyInfo(DependencyKind.SerializedMember, type), new MessageOrigin(type));
252_context.Annotations.Mark(method, new DependencyInfo(DependencyKind.SerializedMember, type), new MessageOrigin(type));