Assertion helper for compilation.

Namespace: MbUnit.Framework
Assembly:  MbUnit.Framework (in MbUnit.Framework.dll)

Syntax

         
 C#  Visual Basic  Visual C++ 
public sealed class CompilerAssert
Public NotInheritable Class CompilerAssert
public ref class CompilerAssert sealed

Members

         
 All Members  Properties Public property  Methods Public method 
 Public

 Protected
 Instance

 Static Static member
 Declared

 Inherited
 XNA Framework Only Supported by the XNA Framework

 .NET Compact Framework Only Supported by the .NET Compact Framework

 MemberDescription
Public methodStatic memberCompiles(ICodeCompiler, Stream)
Verifies that source compiles using the provided compiler.
Public methodStatic memberCompiles(ICodeCompiler, String)
Verifies that source compiles using the provided compiler.
Public methodStatic memberCompiles(ICodeCompiler, CompilerParameters, Stream)
Verifies that source compiles using the provided compiler.
Public methodStatic memberCompiles(ICodeCompiler, CompilerParameters, String)
Verifies that source compiles using the provided compiler.
Public methodStatic memberCompiles(ICodeCompiler, StringCollection, String)
Verifies that source compiles using the provided compiler.
Public methodStatic memberCompiles(ICodeCompiler, CompilerParameters, Stream, Boolean)
Verifies that source compiles using the provided compiler.
Public methodStatic memberCompiles(ICodeCompiler, CompilerParameters, String, Boolean)
Verifies that source compiles using the provided compiler.
Public propertyStatic memberCSharpCompiler
Gets the C# compiler from CSharpCodeProvider.
Public methodStatic memberDisplayErrors(CompilerResults, TextWriter)
Public methodEquals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode()()()
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
Public methodGetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberNotCompiles(ICodeCompiler, Stream)
Verifies that source does not compile using the provided compiler.
Public methodStatic memberNotCompiles(ICodeCompiler, String)
Verifies that source does not compile using the provided compiler.
Public methodStatic memberNotCompiles(ICodeCompiler, CompilerParameters, Stream)
Verifies that source does not compile using the provided compiler.
Public methodStatic memberNotCompiles(ICodeCompiler, CompilerParameters, String)
Verifies that source does not compile using the provided compiler.
Public methodStatic memberNotCompiles(ICodeCompiler, StringCollection, String)
Verifies that source does not compile using the provided compiler.
Public methodToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Public propertyStatic memberVBCompiler
Gets the VB.NET compiler from VBCodeProvider.

Remarks

This class contains static helper methods to verify that snippets are compilable.

Inheritance Hierarchy

System..::.Object
  MbUnit.Framework..::.CompilerAssert

See Also