68 references to One
mscorlib (4)
system\decimal.cs (2)
1127
return Add(d,
One
);
1131
return Subtract(d,
One
);
system\runtime\remoting\soapinteroptypes.cs (2)
1136
if (_value < Decimal.
One
)
1149
if (_value < Decimal.
One
)
System.Data (8)
fx\src\data\System\Data\XMLSchema.cs (8)
475
if (isChoice && pt.MaxOccurs > Decimal.
One
&& (((XmlSchemaElement)el).SchemaType is XmlSchemaComplexType)) // we know frominference condition
479
if (!FromInference || (((XmlSchemaElement)el).MaxOccurs != Decimal.
One
&& !(((XmlSchemaElement)el).SchemaType is XmlSchemaComplexType)))
778
if (this.FromInference && pt is XmlSchemaChoice && pt.MaxOccurs > Decimal.
One
&& (el.SchemaType is XmlSchemaComplexType))
2290
if ((((XmlSchemaElement)el).MaxOccurs != Decimal.
One
) && (!isComplexTypeOrValidElementType)) {
2310
if (((XmlSchemaParticle)el).MaxOccurs > Decimal.
One
&& (((XmlSchemaElement)choiceEl).SchemaType is XmlSchemaComplexType)) // amir
2312
if ((((XmlSchemaElement)choiceEl).RefName.Name.Length != 0) && (!FromInference && ((XmlSchemaElement)choiceEl).MaxOccurs != Decimal.
One
&& !(((XmlSchemaElement)choiceEl).SchemaType is XmlSchemaComplexType)))
2437
if ( (node.MaxOccurs > decimal.
One
) && typeNode == null ){
2464
if ( (node.MaxOccurs > decimal.
One
) && typeNode == null ){
System.Windows.Forms (1)
winforms\Managed\System\WinForms\NumericUpDown.cs (1)
39
private static readonly Decimal DefaultIncrement = Decimal.
One
;
System.Xml (55)
System\Xml\Schema\DataTypeImplementation.cs (1)
3419
static readonly FacetsChecker numeric10FacetsChecker = new Numeric10FacetsChecker(decimal.
One
, decimal.MaxValue);
System\Xml\Schema\Inference\Infer.cs (2)
2389
if (copyElement.MinOccurs != Decimal.
One
&& this.Occurrence == InferenceOption.Relaxed)
2393
if (copyElement.MaxOccurs != Decimal.
One
) {
System\Xml\Schema\Preprocessor.cs (8)
896
if (groupRef.MinOccurs != decimal.
One
|| groupRef.MaxOccurs != decimal.
One
) {
1574
if (particle.MinOccurs != decimal.Zero && particle.MinOccurs != decimal.
One
) {
1575
particle.MinOccurs = decimal.
One
;
1578
if (particle.MaxOccurs != decimal.
One
) {
1579
particle.MaxOccurs = decimal.
One
;
1585
if (element.MaxOccurs != decimal.Zero && element.MaxOccurs != decimal.
One
) {
1586
element.MaxOccurs = decimal.
One
;
System\Xml\Schema\SchemaCollectionCompiler.cs (16)
919
if (groupRef.MinOccurs != decimal.
One
|| groupRef.MaxOccurs != decimal.
One
) {
970
else if (!root && all.Items.Count == 1 && all.MinOccurs == decimal.
One
&& all.MaxOccurs == decimal.
One
) {
991
if (p1.MinOccurs == decimal.
One
&& p1.MaxOccurs == decimal.
One
&& p1 is XmlSchemaChoice) {
1010
else if (!root && choice.Items.Count == 1 && choice.MinOccurs == decimal.
One
&& choice.MaxOccurs == decimal.
One
) {
1026
if (p1.MinOccurs == decimal.
One
&& p1.MaxOccurs == decimal.
One
&& p1 is XmlSchemaSequence) {
1042
else if (!root && sequence.Items.Count == 1 && sequence.MinOccurs == decimal.
One
&& sequence.MaxOccurs == decimal.
One
) {
2095
if (particle.MinOccurs == decimal.
One
&& particle.MaxOccurs == decimal.
One
) {
2098
else if (particle.MinOccurs == decimal.Zero && particle.MaxOccurs == decimal.
One
) {
2104
else if (particle.MinOccurs == decimal.
One
&& particle.MaxOccurs == decimal.MaxValue) {
System\Xml\Schema\SchemaCollectionpreProcessor.cs (8)
590
if (groupRef.MinOccurs != decimal.
One
|| groupRef.MaxOccurs != decimal.
One
) {
1262
if (particle.MinOccurs != decimal.Zero && particle.MinOccurs != decimal.
One
) {
1263
particle.MinOccurs = decimal.
One
;
1266
if (particle.MaxOccurs != decimal.
One
) {
1267
particle.MaxOccurs = decimal.
One
;
1272
if (element.MaxOccurs != decimal.Zero && element.MaxOccurs != decimal.
One
) {
1273
element.MaxOccurs = decimal.
One
;
System\Xml\Schema\SchemaSetCompiler.cs (15)
1017
if (groupRef.MinOccurs > decimal.
One
|| groupRef.MaxOccurs != decimal.
One
) {
1080
if (p1.MinOccurs == decimal.
One
&& p1.MaxOccurs == decimal.
One
&& p1 is XmlSchemaChoice) {
1099
else if (!root && choice.Items.Count == 1 && choice.MinOccurs == decimal.
One
&& choice.MaxOccurs == decimal.
One
) {
1117
if (p1.MinOccurs == decimal.
One
&& p1.MaxOccurs == decimal.
One
&& p1Sequence != null) {
1132
else if (!root && sequence.Items.Count == 1 && sequence.MinOccurs == decimal.
One
&& sequence.MaxOccurs == decimal.
One
) {
1147
decimal one = decimal.
One
;
2451
if (particle.MinOccurs == decimal.
One
&& particle.MaxOccurs == decimal.
One
) {
2454
else if (particle.MinOccurs == decimal.Zero && particle.MaxOccurs == decimal.
One
) {
2460
else if (particle.MinOccurs == decimal.
One
&& particle.MaxOccurs == decimal.MaxValue) {
System\Xml\Schema\XmlSchemaParticle.cs (5)
23
decimal minOccurs = decimal.
One
;
24
decimal maxOccurs = decimal.
One
;
38
minOccurs = decimal.
One
;
62
maxOccurs = decimal.
One
;
123
get { return maxOccurs > decimal.
One
; }