57 references to PrefixHandleType
dotnet-svcutil-lib (57)
FrameworkFork\System.Runtime.Serialization\System\Xml\PrefixHandle.cs (30)
23private PrefixHandleType _type; 34public void SetValue(PrefixHandleType type) 36DiagnosticUtility.DebugAssert(type != PrefixHandleType.Buffer, ""); 51SetValue(PrefixHandleType.Empty); 65_type = PrefixHandleType.Buffer; 74return _type == PrefixHandleType.Empty; 82if (_type != PrefixHandleType.Buffer) 100if (_type != PrefixHandleType.Buffer) 112public bool TryGetShortPrefix(out PrefixHandleType type) 115return (type != PrefixHandleType.Buffer); 118public static string GetString(PrefixHandleType type) 120DiagnosticUtility.DebugAssert(type != PrefixHandleType.Buffer, ""); 124public static PrefixHandleType GetAlphaPrefix(int index) 127return (PrefixHandleType)(PrefixHandleType.A + index); 130public static byte[] GetString(PrefixHandleType type, out int offset, out int length) 132DiagnosticUtility.DebugAssert(type != PrefixHandleType.Buffer, ""); 133if (type == PrefixHandleType.Empty) 141offset = (int)(type - PrefixHandleType.A); 148PrefixHandleType type = _type; 149if (type != PrefixHandleType.Buffer) 157PrefixHandleType type = _type; 158if (type != PrefixHandleType.Buffer) 166PrefixHandleType type = _type; 167if (type != PrefixHandleType.Buffer) 185PrefixHandleType type1 = _type; 186PrefixHandleType type2 = prefix2._type; 189if (type1 != PrefixHandleType.Buffer) 199PrefixHandleType type = _type; 200if (type != PrefixHandleType.Buffer)
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBaseReader.cs (15)
706protected Namespace LookupNamespace(PrefixHandleType prefix) 932for (PrefixHandleType i = PrefixHandleType.A; i <= PrefixHandleType.Z; i++) 2556_shortPrefixUri = new Namespace[(int)PrefixHandleType.Max]; 2557_shortPrefixUri[(int)PrefixHandleType.Empty] = s_emptyNamespace; 2635_shortPrefixUri[(int)PrefixHandleType.Empty] = s_emptyNamespace; 2656PrefixHandleType shortPrefix; 2714PrefixHandleType shortPrefix; 2750public Namespace LookupNamespace(PrefixHandleType prefix) 2757PrefixHandleType shortPrefix; 2772PrefixHandleType shortPrefix; 2786private bool TryGetShortPrefix(string s, out PrefixHandleType shortPrefix) 2791shortPrefix = PrefixHandleType.Empty; 2803shortPrefix = PrefixHandleType.Empty;
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBinaryReader.cs (10)
408PrefixHandleType prefix; 413elementNode.Prefix.SetValue(PrefixHandleType.Empty); 416elementNode.Namespace = LookupNamespace(PrefixHandleType.Empty); 429elementNode.Prefix.SetValue(PrefixHandleType.Empty); 432elementNode.Namespace = LookupNamespace(PrefixHandleType.Empty); 712PrefixHandleType prefix; 719attributeNode.Prefix.SetValue(PrefixHandleType.Empty); 734attributeNode.Prefix.SetValue(PrefixHandleType.Empty); 755nameSpace.Prefix.SetValue(PrefixHandleType.Empty); 762nameSpace.Prefix.SetValue(PrefixHandleType.Empty);
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlUTF8TextReader.cs (2)
758prefix.SetValue(PrefixHandleType.Empty); 850ns.Prefix.SetValue(PrefixHandleType.Empty);