summaryrefslogtreecommitdiff
path: root/src/vm/object.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vm/object.h')
-rw-r--r--src/vm/object.h203
1 files changed, 0 insertions, 203 deletions
diff --git a/src/vm/object.h b/src/vm/object.h
index 179d9c4d9e..50ab19d261 100644
--- a/src/vm/object.h
+++ b/src/vm/object.h
@@ -1731,161 +1731,6 @@ class VersionBaseObject : public Object
int GetRevision() { LIMITED_METHOD_CONTRACT; return m_Revision; }
};
-// FrameSecurityDescriptorBaseObject
-// This class is the base class for the frame security descriptor
-//
-
-class FrameSecurityDescriptorBaseObject : public Object
-{
- friend class MscorlibBinder;
-
- protected:
- // READ ME:
- // Modifying the order or fields of this object may require other changes to the
- // classlib class definition of this object.
-
- OBJECTREF m_assertions; // imperative
- OBJECTREF m_denials; // imperative
- OBJECTREF m_restriction; // imperative
- OBJECTREF m_DeclarativeAssertions;
- OBJECTREF m_DeclarativeDenials;
- OBJECTREF m_DeclarativeRestrictions;
- CLR_BOOL m_assertFT;
- CLR_BOOL m_assertAllPossible;
- CLR_BOOL m_declSecComputed;
-
-
-
- protected:
- FrameSecurityDescriptorBaseObject() {LIMITED_METHOD_CONTRACT;}
- ~FrameSecurityDescriptorBaseObject() {LIMITED_METHOD_CONTRACT;}
-
- public:
-
- INT32 GetOverridesCount()
- {
- LIMITED_METHOD_CONTRACT;
- INT32 ret =0;
- if (m_restriction != NULL)
- ret++;
- if (m_denials != NULL)
- ret++;
- if (m_DeclarativeDenials != NULL)
- ret++;
- if (m_DeclarativeRestrictions != NULL)
- ret++;
- return ret;
- }
-
- INT32 GetAssertCount()
- {
- LIMITED_METHOD_CONTRACT;
- INT32 ret =0;
- if (m_assertions != NULL || m_DeclarativeAssertions != NULL || HasAssertAllPossible())
- ret++;
- return ret;
- }
-
- BOOL HasAssertFT()
- {
- LIMITED_METHOD_CONTRACT;
- return m_assertFT;
- }
-
- BOOL IsDeclSecComputed()
- {
- LIMITED_METHOD_CONTRACT;
- return m_declSecComputed;
- }
-
- BOOL HasAssertAllPossible()
- {
- LIMITED_METHOD_CONTRACT;
- return m_assertAllPossible;
- }
-
- OBJECTREF GetImperativeAssertions()
- {
- LIMITED_METHOD_CONTRACT;
- return m_assertions;
- }
- OBJECTREF GetDeclarativeAssertions()
- {
- LIMITED_METHOD_CONTRACT;
- return m_DeclarativeAssertions;
- }
- OBJECTREF GetImperativeDenials()
- {
- LIMITED_METHOD_CONTRACT;
- return m_denials;
- }
- OBJECTREF GetDeclarativeDenials()
- {
- LIMITED_METHOD_CONTRACT;
- return m_DeclarativeDenials;
- }
- OBJECTREF GetImperativeRestrictions()
- {
- LIMITED_METHOD_CONTRACT;
- return m_restriction;
- }
- OBJECTREF GetDeclarativeRestrictions()
- {
- LIMITED_METHOD_CONTRACT;
- return m_DeclarativeRestrictions;
- }
- void SetImperativeAssertions(OBJECTREF assertRef)
- {
- LIMITED_METHOD_CONTRACT;
- SetObjectReference(&m_assertions, assertRef, this->GetAppDomain());
- }
- void SetDeclarativeAssertions(OBJECTREF assertRef)
- {
- LIMITED_METHOD_CONTRACT;
- SetObjectReference(&m_DeclarativeAssertions, assertRef, this->GetAppDomain());
- }
- void SetImperativeDenials(OBJECTREF denialRef)
- {
- LIMITED_METHOD_CONTRACT;
- SetObjectReference(&m_denials, denialRef, this->GetAppDomain());
- }
-
- void SetDeclarativeDenials(OBJECTREF denialRef)
- {
- LIMITED_METHOD_CONTRACT;
- SetObjectReference(&m_DeclarativeDenials, denialRef, this->GetAppDomain());
- }
-
- void SetImperativeRestrictions(OBJECTREF restrictRef)
- {
- LIMITED_METHOD_CONTRACT;
- SetObjectReference(&m_restriction, restrictRef, this->GetAppDomain());
- }
-
- void SetDeclarativeRestrictions(OBJECTREF restrictRef)
- {
- LIMITED_METHOD_CONTRACT;
- SetObjectReference(&m_DeclarativeRestrictions, restrictRef, this->GetAppDomain());
- }
- void SetAssertAllPossible(BOOL assertAllPossible)
- {
- LIMITED_METHOD_CONTRACT;
- m_assertAllPossible = !!assertAllPossible;
- }
-
- void SetAssertFT(BOOL assertFT)
- {
- LIMITED_METHOD_CONTRACT;
- m_assertFT = !!assertFT;
- }
- void SetDeclSecComputed(BOOL declSec)
- {
- LIMITED_METHOD_CONTRACT;
- m_declSecComputed = !!declSec;
- }
-};
-
-
class WeakReferenceObject : public Object
{
public:
@@ -1914,8 +1759,6 @@ typedef REF<AssemblyNameBaseObject> ASSEMBLYNAMEREF;
typedef REF<VersionBaseObject> VERSIONREF;
-typedef REF<FrameSecurityDescriptorBaseObject> FRAMESECDESCREF;
-
typedef REF<WeakReferenceObject> WEAKREFERENCEREF;
@@ -1965,9 +1808,6 @@ typedef PTR_AssemblyNameBaseObject ASSEMBLYNAMEREF;
#ifndef DACCESS_COMPILE
typedef MarshalByRefObjectBaseObject* MARSHALBYREFOBJECTBASEREF;
typedef VersionBaseObject* VERSIONREF;
-typedef FrameSecurityDescriptorBaseObject* FRAMESECDESCREF;
-
-
typedef WeakReferenceObject* WEAKREFERENCEREF;
#endif // #ifndef DACCESS_COMPILE
@@ -2960,49 +2800,6 @@ typedef REF<ContractExceptionObject> CONTRACTEXCEPTIONREF;
typedef PTR_ContractExceptionObject CONTRACTEXCEPTIONREF;
#endif // USE_CHECKED_OBJECTREFS
-class NumberFormatInfo: public Object
-{
-public:
- // C++ data members // Corresponding data member in NumberFormatInfo.cs
- // Also update mscorlib.h when you add/remove fields
-
- I4ARRAYREF cNumberGroup; // numberGroupSize
- I4ARRAYREF cCurrencyGroup; // currencyGroupSize
- I4ARRAYREF cPercentGroup; // percentGroupSize
-
- STRINGREF sPositive; // positiveSign
- STRINGREF sNegative; // negativeSign
- STRINGREF sNumberDecimal; // numberDecimalSeparator
- STRINGREF sNumberGroup; // numberGroupSeparator
- STRINGREF sCurrencyGroup; // currencyDecimalSeparator
- STRINGREF sCurrencyDecimal; // currencyGroupSeparator
- STRINGREF sCurrency; // currencySymbol
- STRINGREF sNaN; // nanSymbol
- STRINGREF sPositiveInfinity; // positiveInfinitySymbol
- STRINGREF sNegativeInfinity; // negativeInfinitySymbol
- STRINGREF sPercentDecimal; // percentDecimalSeparator
- STRINGREF sPercentGroup; // percentGroupSeparator
- STRINGREF sPercent; // percentSymbol
- STRINGREF sPerMille; // perMilleSymbol
-
- PTRARRAYREF sNativeDigits; // nativeDigits (a string array)
-
- INT32 cNumberDecimals; // numberDecimalDigits
- INT32 cCurrencyDecimals; // currencyDecimalDigits
- INT32 cPosCurrencyFormat; // positiveCurrencyFormat
- INT32 cNegCurrencyFormat; // negativeCurrencyFormat
- INT32 cNegativeNumberFormat; // negativeNumberFormat
- INT32 cPositivePercentFormat; // positivePercentFormat
- INT32 cNegativePercentFormat; // negativePercentFormat
- INT32 cPercentDecimals; // percentDecimalDigits
- INT32 iDigitSubstitution; // digitSubstitution
-
- CLR_BOOL bIsReadOnly; // Is this NumberFormatInfo ReadOnly?
- CLR_BOOL bIsInvariant; // Is this the NumberFormatInfo for the Invariant Culture?
-};
-
-typedef NumberFormatInfo * NUMFMTREF;
-
//===============================================================================
// #NullableFeature
// #NullableArchitecture