6 references to None
dotnet-svcutil.xmlserializer (6)
Microsoft\Tools\ServiceModel\SvcUtil\Options.cs (6)
75
Tool.Assert(validModes != ToolMode.
None
, "validModes should never be set to None!");
76
Tool.Assert(newDefaultMode != ToolMode.
None
, "newDefaultMode should never be set to None!");
77
Tool.Assert((validModes & newDefaultMode) != ToolMode.
None
, "newDefaultMode must be a validMode!");
82
if (_validModes == ToolMode.
None
)
86
bool currentDefaultIsValid = (_defaultMode.HasValue && (_defaultMode & _validModes) != ToolMode.
None
);
87
bool newDefaultIsValid = (newDefaultMode & _validModes) != ToolMode.
None
;