Share via


Language and Compiler namespaces

The Microsoft.CSharp.RuntimeBinder, Microsoft.VisualBasic, and Microsoft.VisualBasic.CompilerServices namespaces contain types that support compilation and code generation of source code written in the C# and Visual Basic languages. The System.CodeDom.Compiler namespace contains types for managing the generation and compilation of source code in supported programming languages.

This topic displays the types in these namespaces that are included in the .NET for Windows Store apps. Note that the .NET for Windows Store apps does not include all the members of each type. For information about individual types, see the linked topics. The documentation for a type indicates which members are included in the .NET for Windows Store apps.

Microsoft.CSharp.RuntimeBinder namespace

Types supported in the .NET for Windows Store apps

Description

Binder

Contains factory methods to create dynamic call site binders for C#.

CSharpArgumentInfo

Represents information about C# dynamic operations that are specific to particular arguments at a call site. Instances of this class are generated by the C# compiler.

CSharpArgumentInfoFlags

Represents information about C# dynamic operations that are specific to particular arguments at a call site. Instances of this class are generated by the C# compiler.

CSharpBinderFlags

Represents information about C# dynamic operations that are not specific to particular arguments at a call site. Instances of this class are generated by the C# compiler.

RuntimeBinderException

Represents an error that occurs when a dynamic bind in the C# runtime binder is processed.

RuntimeBinderInternalCompilerException

Represents an error that occurs when a dynamic bind in the C# runtime binder is processed.

Microsoft.VisualBasic namespace

Types supported in the .NET for Windows Store apps

Description

CallType

Indicates the type of procedure being invoked when calling the CallByName function.

Constants

Contains constants that can be used anywhere in your code.

HideModuleNameAttribute

When applied to a module, allows the module members to be accessed using only the qualification needed for the module.

Strings

Contains procedures used to perform string operations.

Microsoft.VisualBasic.CompilerServices namespace

Types supported in the .NET for Windows Store apps

Description

Conversions

Provides methods that perform various type conversions.

DesignerGeneratedAttribute

When applied to a class, the compiler implicitly calls a component-initializing method from the default synthetic constructor.

IncompleteInitialization

Used by the compiler during static local initialization; it is not meant to be called directly from your code. An exception of this type is thrown if a static local variable fails to initialize.

NewLateBinding

Provides helpers that the Visual Basic compiler uses for late binding calls; it is not meant to be called directly from your code.

ObjectFlowControl

Used by the compiler for object flow control; it is not meant to be called directly from your code.

ObjectFlowControl.ForLoopControl

Provides services to the Visual Basic compiler for compiling For Next loops.

Operators

Provides late-bound math operators, such as AddObject and CompareObject, which the Visual Basic compiler uses internally.

OptionCompareAttribute

Specifies that the current Option Compare setting should be passed as the default value for an argument.

OptionTextAttribute

Indicates (for Visual Basic debugging) which comparison option, binary or text, is being used.

ProjectData

Provides helpers for the Visual Basic Err object.

StandardModuleAttribute

Provides attributes that are applied to the standard module construct when it is emitted to Intermediate Language (IL). It is not intended to be called directly from your code.

StaticLocalInitFlag

Used internally by the compiler when it initializes static local members; it is not meant to be called directly from your code.

Utils

Contains utilities that the Visual Basic compiler uses.

System.CodeDom.Compiler namespace

Types supported in the .NET for Windows Store apps

Description

GeneratedCodeAttribute

Identifies code generated by a tool. This class cannot be inherited.

See Also

Concepts

.NET for Windows Store apps APIs