The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
Feb. 05, 2013

Filed:

Mar. 22, 2010
Applicants:

Henricus Johannes Maria Meijer, Mercer Island, WA (US);

Anders Hejlsberg, Seattle, WA (US);

Matthew J. Warren, Redmond, WA (US);

Luca Bolognese, Redmond, WA (US);

Peter A. Hallam, Seattle, WA (US);

Gary S. Katzenberger, Woodinville, WA (US);

Dinesh C. Kulkarni, Sammamish, WA (US);

Inventors:

Henricus Johannes Maria Meijer, Mercer Island, WA (US);

Anders Hejlsberg, Seattle, WA (US);

Matthew J. Warren, Redmond, WA (US);

Luca Bolognese, Redmond, WA (US);

Peter A. Hallam, Seattle, WA (US);

Gary S. Katzenberger, Woodinville, WA (US);

Dinesh C. Kulkarni, Sammamish, WA (US);

Assignee:

Microsoft Corporation, Redmond, WA (US);

Attorney:
Primary Examiner:
Int. Cl.
CPC ...
G06F 9/44 (2006.01);
U.S. Cl.
CPC ...
Abstract

Architecture that extends existing types including constructed and sealed types using extension methods. Extension methods are static methods that can be invoked using instance method syntax. Extension methods are declared by specifying the keyword 'this' as a modifier on the first parameter of the methods. Extension methods have all the capabilities of regular static methods. In addition, once imported, extension methods can be invoked using instance method syntax. Also disclosed are rules for importing extension methods, and extension method invocations. Extension methods are imported through using-namespace-directives. In addition to importing the types contained in a namespace, a using-namespace-directive imports all extension methods in all static classes in the namespace. In effect, imported extension methods appear as additional methods on the types that are given by their first parameter and have lower precedence than regular instance methods.


Find Patent Forward Citations

Loading…