1 write to _writer
dotnet-svcutil-lib (1)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (1)
3829
_writer
= writer;
83 references to _writer
dotnet-svcutil-lib (83)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (83)
3857
_writer
.WriteLine("static " + typeof(Type).FullName + " " + typeVariable + " = " + elementTypeVariable + ".MakeArrayType();");
3862
_writer
.Write("static " + typeof(Type).FullName + " " + typeVariable + " = " + assemblyVariable + ".GetType(");
3864
_writer
.WriteLine(");");
3875
_writer
.WriteLine("static " + typeof(Type).FullName + " " + typeVariable + " = typeof(System.Nullable<>).MakeGenericType(new " + typeof(Type).FullName + "[] {" + parameterTypeVariable + "});");
3880
_writer
.Write("static " + typeof(Type).FullName + " " + typeVariable + " = " + assemblyVariable + ".GetType(");
3882
_writer
.WriteLine(");");
3906
_writer
.Write(String.Format(CultureInfo.InvariantCulture, s_helperClassesForUseReflection,
3985
_writer
.Write("static " + typeof(Assembly).FullName + " " + assemblyVariable + " = " + "ResolveDynamicAssembly(");
3987
_writer
.WriteLine(");");
4002
_writer
.Write("static XSPropInfo " + propVariable + " = new XSPropInfo(" + typeVariable + ", ");
4004
_writer
.WriteLine(");");
4011
_writer
.Write("static XSFieldInfo " + fieldVariable + " = new XSFieldInfo(" + typeVariable + ", ");
4013
_writer
.WriteLine(");");
4024
_writer
.Write("static " + typeof(MethodInfo).FullName + " " + methodVariable + " = " + typeVariable + ".GetMethod(");
4026
_writer
.Write(", ");
4029
_writer
.Write(bindingFlags);
4030
_writer
.Write(".Public | ");
4031
_writer
.Write(bindingFlags);
4032
_writer
.Write(".Instance | ");
4033
_writer
.Write(bindingFlags);
4034
_writer
.Write(".Static");
4038
_writer
.Write(" | ");
4039
_writer
.Write(bindingFlags);
4040
_writer
.Write(".NonPublic");
4042
_writer
.Write(", null, ");
4043
_writer
.Write("new " + typeof(Type).FullName + "[] { ");
4046
_writer
.Write(paramTypes[i]);
4048
_writer
.Write(", ");
4050
_writer
.WriteLine("}, null);");
4059
_writer
.Write("static XSArrayInfo ");
4060
_writer
.Write(itemVariable);
4061
_writer
.Write("= new XSArrayInfo(");
4062
_writer
.Write(GetStringForTypeof(CodeIdentifier.GetCSharpName(type), collectionUseReflection));
4063
_writer
.Write(".GetProperty(");
4065
_writer
.Write(",");
4067
_writer
.Write(GetStringForTypeof(CodeIdentifier.GetCSharpName(defaultIndexer.PropertyType), elementUseReflection));
4068
_writer
.Write(",new ");
4069
_writer
.Write(typeof(Type[]).FullName);
4070
_writer
.WriteLine("{typeof(int)}));");
4270
_writer
.Write(typeFullName);
4271
_writer
.Write(" ");
4272
_writer
.Write(variableName);
4275
_writer
.Write(" = ");
4278
_writer
.Write("(" + typeFullName + ")");
4280
_writer
.Write(initValue);
4282
_writer
.WriteLine(";");
4287
_writer
.Write(useReflection ? "object" : escapedName);
4288
_writer
.Write(" ");
4289
_writer
.Write(source);
4290
_writer
.Write(" = ");
4291
_writer
.Write(GetStringForCreateInstance(escapedName, useReflection, ctorInaccessible, !useReflection && ctorInaccessible));
4292
_writer
.WriteLine(";");
4298
_writer
.Write(source);
4299
_writer
.Write(" is ");
4300
_writer
.Write(escapedTypeName);
4303
_writer
.Write(GetReflectionVariable(escapedTypeName, null));
4304
_writer
.Write(".IsAssignableFrom(");
4305
_writer
.Write(source);
4306
_writer
.Write(".GetType())");
4320
_writer
.Write(typeName);
4321
_writer
.Write(" ");
4322
_writer
.Write(variableName);
4325
_writer
.Write(" = ");
4327
_writer
.Write("(" + typeName + ")");
4328
_writer
.Write(initValue);
4330
_writer
.WriteLine(";");
4334
_writer
.Write("case ");
4337
_writer
.Write(c.Value.ToString());
4341
_writer
.Write(fullTypeName);
4342
_writer
.Write(".@");
4344
_writer
.Write(c.Name);
4346
_writer
.Write(": ");
4350
_writer
.Write(variable);
4351
_writer
.Write(" == ");
4352
_writer
.Write(GetStringForTypeof(escapedTypeName, useReflection));
4358
_writer
.Write(variable);
4359
_writer
.Write(" == typeof(");
4360
_writer
.Write(escapedTypeName);
4361
_writer
.Write(")");
4364
_writer
.Write(variable);
4365
_writer
.Write(".IsArray ");
4366
_writer
.Write(" && ");
4410
WriteQuotedCSharpString(
_writer
, value);