CompilerInfo::Equals Method (Object^)

 

Determines whether the specified object represents the same language provider and compiler settings as the current CompilerInfo.

Namespace:   System.CodeDom.Compiler
Assembly:  System (in System.dll)

public:
virtual bool Equals(
	Object^ o
) override

Parameters

o
Type: System::Object^

The object to compare with the current CompilerInfo.

Return Value

Type: System::Boolean

true if o is a CompilerInfo object and its value is the same as this instance; otherwise, false.

This method overrides the Object::Equals(Object^) method.

The two instances are considered equal if the values of the following properties are equal:

SecurityPermission

for calling members of CompilerInfo. Demand value: LinkDemand; Associated PermissionState enumeration value: Unrestricted; NIB: Named Permission Sets: FullTrust.

.NET Framework
Available since 2.0
Return to top
Show: