6 instantiations of TypeScope
System.Xml (6)
System\Xml\Serialization\SchemaImporter.cs (1)
113scope = new TypeScope();
System\Xml\Serialization\SoapReflectionImporter.cs (1)
64this.typeScope = new TypeScope();
System\Xml\Serialization\XmlCodeExporter.cs (1)
663else if (mapping.TypeDesc.ArrayElementTypeDesc == new TypeScope().GetTypeDesc(typeof(byte))) {
System\Xml\Serialization\XmlReflectionImporter.cs (2)
82this.typeScope = new TypeScope(); 1953TypeDesc typeDesc = new TypeScope().GetTypeDesc(type);
System\Xml\Serialization\XmlSerializationWriter.cs (1)
714TypeDesc typeDesc = new TypeScope().GetTypeDesc(type);
70 references to TypeScope
System.Xml (70)
System\Xml\Serialization\CodeExporter.cs (3)
34TypeScope scope; 144internal TypeScope Scope { 148internal void CheckScope(TypeScope scope) {
System\Xml\Serialization\Compilation.cs (5)
299TypeScope[] scopes = new TypeScope[scopeTable.Keys.Count]; 304foreach (TypeScope scope in scopes) { 419TypeScope[] scopes = new TypeScope[scopeTable.Keys.Count];
System\Xml\Serialization\Compiler.cs (1)
49if (TypeScope.IsKnownType(type))
System\Xml\Serialization\ImportContext.cs (1)
441XmlQualifiedName qname = TypeScope.ParseWsdlArrayType(attribute.Value, out dims, item);
System\Xml\Serialization\Models.cs (4)
21TypeScope typeScope; 25internal ModelScope(TypeScope typeScope) { 29internal TypeScope TypeScope { 111get { return ModelScope.GetTypeModel(TypeScope.GetArrayElementType(Type, null)); }
System\Xml\Serialization\SchemaImporter.cs (2)
37TypeScope scope; 110internal TypeScope Scope {
System\Xml\Serialization\SoapReflectionImporter.cs (1)
23TypeScope typeScope;
System\Xml\Serialization\SoapSchemaExporter.cs (2)
24TypeScope scope; 73void CheckScope(TypeScope scope) {
System\Xml\Serialization\SoapSchemaImporter.cs (1)
444XmlQualifiedName typeName = TypeScope.ParseWsdlArrayType(arrayType, out dims, attribute);
System\Xml\Serialization\XmlMapping.cs (4)
26TypeScope scope; 34internal XmlMapping(TypeScope scope, ElementAccessor accessor) : this(scope, accessor, XmlMappingAccess.Read | XmlMappingAccess.Write){ 37internal XmlMapping(TypeScope scope, ElementAccessor accessor, XmlMappingAccess access) { 48internal TypeScope Scope {
System\Xml\Serialization\XmlMembersMapping.cs (1)
21internal XmlMembersMapping(TypeScope scope, ElementAccessor accessor, XmlMappingAccess access) : base(scope, accessor, access) {
System\Xml\Serialization\XmlReflectionImporter.cs (4)
26TypeScope typeScope; 222if (canBeSimpleType && TypeScope.IsKnownType(type)) { 351TypeDesc modelTypeDesc = TypeScope.IsOptionalValue(model.Type) ? model.TypeDesc.BaseTypeDesc : model.TypeDesc; 1357Type arrayElementType = TypeScope.GetArrayElementType(accessorType, model.FieldTypeDesc.FullName + "." + model.Name);
System\Xml\Serialization\XmlSchemaExporter.cs (3)
32TypeScope scope; 218void CheckScope(TypeScope scope) { 841void ExportRootIfNecessary(TypeScope typeScope) {
System\Xml\Serialization\XmlSerializationGeneratedCode.cs (3)
55TypeScope[] scopes; 64internal XmlSerializationCodeGen(IndentedWriter writer, TypeScope[] scopes, string access, string className) { 83internal TypeScope[] Scopes { get { return scopes; } }
System\Xml\Serialization\XmlSerializationILGen.cs (3)
26TypeScope[] scopes; 38internal XmlSerializationILGen(TypeScope[] scopes, string access, string className) { 55internal TypeScope[] Scopes { get { return scopes; } }
System\Xml\Serialization\XmlSerializationReader.cs (8)
1507fallbackElementType = TypeScope.GetArrayElementType(arrayType, null); 2115internal XmlSerializationReaderCodeGen(IndentedWriter writer, TypeScope[] scopes, string access, string className) : base(writer, scopes, access, className) { 2126foreach (TypeScope scope in Scopes) { 2134foreach (TypeScope scope in Scopes) { 2252foreach (TypeScope scope in Scopes) { 2893foreach (TypeScope scope in Scopes) { 3085MemberMapping[] mappings = TypeScope.GetSettableMembers(structMapping); 3220MemberMapping[] mappings = TypeScope.GetSettableMembers(structMapping);
System\Xml\Serialization\XmlSerializationReaderILGen.cs (4)
182internal XmlSerializationReaderILGen(TypeScope[] scopes, string access, string className) 193foreach (TypeScope scope in Scopes) { 1197foreach (TypeScope scope in Scopes) { 1559MemberMapping[] mappings = TypeScope.GetSettableMembers(structMapping, memberInfos);
System\Xml\Serialization\XmlSerializationWriter.cs (12)
818XmlQualifiedName qname = TypeScope.ParseWsdlArrayType(attr.Value, out dims, (container is XmlSchemaObject) ? (XmlSchemaObject)container : null); 1057Type elementType = TypeScope.GetArrayElementType(type, null); 1064elementType = TypeScope.GetArrayElementType(elementType, null); 1306internal XmlSerializationWriterCodeGen(IndentedWriter writer, TypeScope[] scopes, string access, string className) : base(writer, scopes, access, className){ 1318foreach (TypeScope scope in Scopes) { 1328foreach (TypeScope scope in Scopes) { 1378foreach (TypeScope scope in Scopes) { 1963foreach (TypeScope scope in Scopes) { 2090MemberMapping[] members = TypeScope.GetAllMembers(mapping); 3351internal void WriteReflectionInit(TypeScope scope){ 3359string WriteTypeInfo(TypeScope scope, TypeDesc typeDesc, Type type){ 3547PropertyInfo defaultIndexer = TypeScope.GetDefaultIndexer(type, null);
System\Xml\Serialization\XmlSerializationWriterILGen.cs (5)
22internal XmlSerializationWriterILGen(TypeScope[] scopes, string access, string className) 34foreach (TypeScope scope in Scopes) { 735foreach (TypeScope scope in Scopes) { 990MemberMapping[] members = TypeScope.GetAllMembers(mapping, memberInfos); 2232internal void WriteReflectionInit(TypeScope scope) {
System\Xml\Serialization\XmlSerializer.cs (2)
446TypeDesc typeDesc = (TypeDesc)TypeScope.PrimtiveTypes[primitiveType]; 726TypeDesc typeDesc = (TypeDesc)TypeScope.PrimtiveTypes[type];
System\Xml\Serialization\XmlTypeMapping.cs (1)
19internal XmlTypeMapping(TypeScope scope, ElementAccessor accessor) : base(scope, accessor) {