20 references to Assert
System.Configuration (20)
parent\misc\ConfigPathUtility.cs (1)
110Debug.Assert(index != configPath.Length - 1);
System\Configuration\BaseConfigurationRecord.cs (6)
2742Debug.Assert(UrlPath.IsSubpath(_parent.ConfigPath, input.SectionXmlInfo.TargetConfigPath)); 2818Debug.Assert(FindFactoryRecord(configKey, true) != null); 2839Debug.Assert(mode != OverrideMode.Inherit); // Remember that the default is never Inherit 2855Debug.Assert(mode != OverrideMode.Inherit); 4535Debug.Assert(x.SectionXmlInfo.ConfigKey == y.SectionXmlInfo.ConfigKey); 4559Debug.Assert(StringUtil.EqualsIgnoreCase(yTargetConfigPath, xTargetConfigPath));
System\Configuration\ConfigurationElement.cs (5)
864Debug.Assert((type != null) && ( validator != null)); 865Debug.Assert(typeof(ConfigurationElement).IsAssignableFrom(type)); 877Debug.Assert( !s_perTypeValidators.ContainsKey(type)); 889Debug.Assert(root != null); 903Debug.Assert(elem != null);
System\Configuration\MgmtConfigurationRecord.cs (2)
438Debug.Assert(input != null); 2828Debug.Assert(LocationSubPath == null);
System\Configuration\OverrideMode.cs (3)
171Debug.Assert((x._mode & ApiDefinedAny) != 0); 244Debug.Assert(useLegacy || (_mode & ApiDefinedNewMode) != 0); 253Debug.Assert(useLegacy || (_mode & XmlDefinedNewMode) != 0);
System\Configuration\SectionRecord.cs (1)
186Debug.Assert(sectionInput != null);
System\Configuration\TypeUtil.cs (1)
189Debug.Assert(owner != null);
System\Configuration\updateconfighost.cs (1)
38Debug.Assert(!String.IsNullOrEmpty(oldStreamname));