public void TestIsTransientUnderstandsCustomTransient() { AssertIsNotTransient("CustomTransientField"); AssertIsNotTransient("FieldWithCustomAttribute"); NetField.MarkTransient(typeof(CustomTransientAttribute)); AssertIsTransient("CustomTransientField"); AssertIsNotTransient("FieldWithCustomAttribute"); }
internal static void MarkTransient(String marker) { NetField.MarkTransient(marker); }