[Mono-list] Patches for TraceSwitch

JD Conley jconley@winfessor.com
Fri, 20 Dec 2002 19:50:12 -0800


This is a multi-part message in MIME format.

------_=_NextPart_001_01C2A8A4.1096B340
Content-Type: text/plain;
	charset="utf-8"
Content-Transfer-Encoding: base64

SSB3YXMgaW4gdGhlIHByb2Nlc3Mgb2YgbWFraW5nIG91ciBlbmhhbmNlZCB0cmFjZSBwYWNrYWdl
IGZ1bmN0aW9uIHdpdGggTW9ubyBhbmQgSSByYW4gaW50byBUcmFjZVN3aXRjaC4gIEkgZG9uJ3Qg
dGhpbmsgaXQgd2FzIGV2ZXIgZmluaXNoZWQuICBJbmNsdWRlZCBpcyBhIGZ1bmN0aW9uaW5nIFRy
YWNlU3dpdGNoIGNsYXNzIHdoaWNoIGlzIHVzZWQgdG8gZGV0ZXJtaW5lIGlmIHRoZSB0cmFjZSBs
ZXZlbCB5b3UncmUgdGVzdGluZyBpcyBncmVhdGVyL2VxdWFsIHRvIHRoZSBsZXZlbCBvZiB0aGUg
U3dpdGNoLiAgVGhpcyBpcyB1c2VkIHRvIGRldGVybWluZSBpZiBvdXIgVHJhY2VRdWV1ZSBzaG91
bGQgc2VuZCB0aGUgdHJhY2UgaXRlbXMgb250byB0aGUgbGlzdGVuZXJzLiAgSSBkaWRuJ3Qgc2Vl
IGFueSBVbml0IFRlc3RzIGZvciBUcmFjZVN3aXRjaCBhbmQgaXQgZG9lc24ndCBsb29rIGxpa2Ug
YW55Ym9keSByZWFsbHkgdXNlcyBpdC4gIEJ1dCB3ZSBkby4gIDopDQogDQpUaGFua3MsDQpKRCBD
b25sZXkNCldpbmZlc3NvciwgSW5jDQoiTGlmZSB3b3VsZCBiZSBzbyBtdWNoIGVhc2llciBpZiB3
ZSBjb3VsZCBqdXN0IHNlZSB0aGUgc291cmNlIGNvZGUuIg0K

------_=_NextPart_001_01C2A8A4.1096B340
Content-Type: text/plain;
	name="System.Diagnostics.diff"
Content-Transfer-Encoding: base64
Content-Description: System.Diagnostics.diff
Content-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