25 references to Write
Microsoft.Cci.Extensions (25)
Writers\CSharp\CSDeclarationWriter.Attributes.cs (14)
159
Write
("System.Security.Permissions.SecurityAction." + action.ToString());
203
_writer.WriteList(parameters, p =>
Write
(p));
264
Write
(QuoteString((string)value));
268
Write
(String.Format("'{0}'", EscapeChar((char)value, false)));
274
Write
("-1.0 / 0.0");
276
Write
("1.0 / 0.0");
278
Write
("0.0 / 0.0");
280
Write
(((double)value).ToString("R", CultureInfo.InvariantCulture));
286
Write
("-1.0f / 0.0f");
288
Write
("1.0f / 0.0f");
290
Write
("0.0f / 0.0f");
292
Write
(((float)value).ToString("R", CultureInfo.InvariantCulture) + "f");
305
Write
(value.ToString());
313
Write
(value.ToString());
Writers\CSharp\CSDeclarationWriter.Enums.cs (1)
137
Write
(constant.Value.ToString());
Writers\CSharp\CSDeclarationWriter.Methods.cs (9)
170
Write
("global::");
320
Write
("throw new ");
322
Write
("global::");
324
Write
("System.PlatformNotSupportedException(");
329
Write
("global::");
330
Write
($"System.{ _platformNotSupportedExceptionMessage}");
333
Write
($"\"{_platformNotSupportedExceptionMessage}\"");
335
Write
("); ");
339
Write
("throw null; ");
Writers\CSharp\CSDeclarationWriter.Properties.cs (1)
115
Write
("global::");