CompilerInfo.Equals(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the specified object represents the same language provider and compiler settings as the current CompilerInfo.
public:
override bool Equals(System::Object ^ o);
public override bool Equals (object o);
override this.Equals : obj -> bool
Public Overrides Function Equals (o As Object) As Boolean
Parameters
- o
- Object
The object to compare with the current CompilerInfo.
Returns
true
if o
is a CompilerInfo object and its value is the same as this instance; otherwise, false
.
Remarks
This method overrides the Object.Equals(Object) method.
The two instances are considered equal if the values of the following properties are equal:
The CodeDomProviderType property.
The WarningLevel, CompilerOptions, and IncludeDebugInformation properties of the CompilerParameters instance returned by the CreateDefaultCompilerParameters method.