1 write to _writer
dotnet-svcutil-lib (1)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationGeneratedCode.cs (1)
52
_writer
= writer;
50 references to _writer
dotnet-svcutil-lib (50)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationGeneratedCode.cs (50)
64
internal IndentedWriter Writer { get { return
_writer
; } }
115
_writer
.Write(typeof(Hashtable).FullName);
116
_writer
.Write(" ");
117
_writer
.Write(privateName);
118
_writer
.WriteLine(" = null;");
119
_writer
.Write("public override ");
120
_writer
.Write(typeof(Hashtable).FullName);
122
_writer
.Write(" ");
123
_writer
.Write(publicName);
124
_writer
.WriteLine(" {");
125
_writer
.Indent++;
127
_writer
.WriteLine("get {");
128
_writer
.Indent++;
130
_writer
.Write("if (");
131
_writer
.Write(privateName);
132
_writer
.WriteLine(" == null) {");
133
_writer
.Indent++;
135
_writer
.Write(typeof(Hashtable).FullName);
136
_writer
.Write(" _tmp = new ");
137
_writer
.Write(typeof(Hashtable).FullName);
138
_writer
.WriteLine("();");
143
_writer
.Write("if (");
144
_writer
.Write(privateName);
145
_writer
.Write(" == null) ");
146
_writer
.Write(privateName);
147
_writer
.WriteLine(" = _tmp;");
148
_writer
.Indent--;
149
_writer
.WriteLine("}");
151
_writer
.Write("return ");
152
_writer
.Write(privateName);
153
_writer
.WriteLine(";");
154
_writer
.Indent--;
155
_writer
.WriteLine("}");
157
_writer
.Indent--;
158
_writer
.WriteLine("}");
169
_writer
.Write("_tmp[");
171
_writer
.Write("] = ");
173
_writer
.WriteLine(";");
181
_writer
.Write("public override ");
182
_writer
.Write(typeof(bool).FullName);
183
_writer
.Write(" CanSerialize(");
184
_writer
.Write(typeof(Type).FullName);
185
_writer
.WriteLine(" type) {");
186
_writer
.Indent++;
203
_writer
.Write("if (type == typeof(");
204
_writer
.Write(CodeIdentifier.GetCSharpName(type));
205
_writer
.WriteLine(")) return true;");
207
_writer
.WriteLine("return false;");
208
_writer
.Indent--;
209
_writer
.WriteLine("}");