4 types derived from IndentedTextWriter
Microsoft.AspNetCore.Http.RequestDelegateGenerator (1)
src\Shared\RoslynUtils\CodeWriter.cs (1)
8internal sealed class CodeWriter : IndentedTextWriter
Microsoft.AspNetCore.OpenApi.SourceGenerators (1)
src\Shared\RoslynUtils\CodeWriter.cs (1)
8internal sealed class CodeWriter : IndentedTextWriter
Microsoft.Extensions.Validation.ValidationsGenerator (1)
src\Shared\RoslynUtils\CodeWriter.cs (1)
8internal sealed class CodeWriter : IndentedTextWriter
System.CodeDom (1)
System\CodeDom\Compiler\ExposedTabStringIndentedTextWriter.cs (1)
9internal sealed class ExposedTabStringIndentedTextWriter : IndentedTextWriter
12 instantiations of IndentedTextWriter
Microsoft.Interop.ComInterfaceGenerator (2)
ComClassGenerator.cs (1)
51using IndentedTextWriter writer = new(sw);
ComInterfaceGenerator.cs (1)
137using IndentedTextWriter writer = new(sw);
Microsoft.Maui.Controls.BindingSourceGen (1)
BindingCodeWriter.cs (1)
170 _indentedTextWriter = new IndentedTextWriter(_stringWriter, "\t") { Indent = indent };
Microsoft.ML.Core (1)
Utilities\CmdIndenter.cs (1)
22var itw = new IndentedTextWriter(sw, " ");
Microsoft.ML.Data (1)
Commands\ShowSchemaCommand.cs (1)
132var itw = new IndentedTextWriter(writer, " ");
Microsoft.ML.Maml (1)
HelpCommand.cs (1)
112using (var writer = new IndentedTextWriter(sw, " "))
Microsoft.ML.Predictor.Tests (2)
CmdLine\CmdIndenterTest.cs (1)
50var wrt = new IndentedTextWriter(writer, " ");
CmdLine\CmdLine.cs (1)
350var wrt = new IndentedTextWriter(writer, " ");
Microsoft.ML.Tests (1)
ExpressionLanguageTests\ExpressionLanguageTests.cs (1)
121var wrt = new IndentedTextWriter(wr, " ");
Microsoft.ML.Transforms (1)
Expression\Printer.cs (1)
40var wrt = new IndentedTextWriter(writer, " ");
System.Text.RegularExpressions.Generator (2)
RegexGenerator.cs (2)
117var writer = new IndentedTextWriter(sw); 172using IndentedTextWriter writer = new(sw);
74 references to IndentedTextWriter
Microsoft.Interop.ComInterfaceGenerator (6)
ComClassGenerator.cs (1)
51using IndentedTextWriter writer = new(sw);
ComInterfaceGenerator.cs (5)
137using IndentedTextWriter writer = new(sw); 469private static void WriteImplementationVTableStruct(IndentedTextWriter writer, ComInterfaceAndMethodsContext interfaceMethods) 505private static void WriteInterfaceInformation(IndentedTextWriter writer, ComInterfaceInfo interfaceInfo) 516private static void WriteInterfaceImplementation(IndentedTextWriter writer, ComInterfaceAndMethodsContext data) 613private static void WriteIUnknownDerivedOriginalInterfacePart(IndentedTextWriter writer, ComInterfaceAndMethodsContext data)
Microsoft.Interop.SourceGeneration (3)
ContainingSyntaxContext.cs (2)
154public void WriteToWithUnsafeModifier<TState>(IndentedTextWriter writer, TState writeMembersState, Action<IndentedTextWriter, TState> writeMembers)
IndentedTextWriterExtensions.cs (1)
12public static void WriteMultilineNode(this IndentedTextWriter writer, SyntaxNode node)
Microsoft.Maui.Controls.BindingSourceGen (1)
BindingCodeWriter.cs (1)
159 private IndentedTextWriter _indentedTextWriter;
Microsoft.ML.Core (8)
Utilities\CmdIndenter.cs (2)
22var itw = new IndentedTextWriter(sw, " "); 35private static bool TryProduceIndentString(string text, IndentedTextWriter itw)
Utilities\IndentedTextWriterExtensions.cs (6)
15private IndentedTextWriter _writer; 17public Scope(IndentedTextWriter writer) 29public static Scope Nest(this IndentedTextWriter writer) 34public static void Indent(this IndentedTextWriter writer) 38public static void Outdent(this IndentedTextWriter writer) 43public static void WriteLineNoTabs(this IndentedTextWriter writer)
Microsoft.ML.Data (8)
Commands\ShowSchemaCommand.cs (8)
132var itw = new IndentedTextWriter(writer, " "); 183private static void ShowMetadata(IndentedTextWriter itw, DataViewSchema schema, int col, bool showVals) 207private static void ShowMetadataValue(IndentedTextWriter itw, DataViewSchema schema, int col, string kind, DataViewType type) 222Action<IndentedTextWriter, DataViewSchema, int, string, DataViewType> del = ShowMetadataValue<int>; 227private static void ShowMetadataValue<T>(IndentedTextWriter itw, DataViewSchema schema, int col, string kind, DataViewType type) 247private static void ShowMetadataValueVec(IndentedTextWriter itw, DataViewSchema schema, int col, string kind, VectorDataViewType type) 261Action<IndentedTextWriter, DataViewSchema, int, string, VectorDataViewType> del = ShowMetadataValueVec<int>; 266private static void ShowMetadataValueVec<T>(IndentedTextWriter itw, DataViewSchema schema, int col, string kind, VectorDataViewType type)
Microsoft.ML.Maml (8)
HelpCommand.cs (8)
112using (var writer = new IndentedTextWriter(sw, " ")) 133private void ShowHelp(IndentedTextWriter writer, int? columns = null) 191private void ShowAllHelp(IndentedTextWriter writer, int? columns = null) 225private void ShowUsage(IndentedTextWriter writer, string kind, string summary, string loadName, 246private void ShowComponents(IndentedTextWriter writer) 312private void ShowAliases(IndentedTextWriter writer, IReadOnlyList<string> names) 327private void ListKinds(IndentedTextWriter writer) 341private void ShowFormattedSummary(IndentedTextWriter writer, string summary, int? columns)
Microsoft.ML.Predictor.Tests (10)
CmdLine\CmdIndenterTest.cs (1)
50var wrt = new IndentedTextWriter(writer, " ");
CmdLine\CmdLine.cs (9)
85Action<IndentedTextWriter> init = null; 86Action<IndentedTextWriter, string> action = null; 99private static void Init(IndentedTextWriter wrt, object defaults) 109private static void Process(IndentedTextWriter wrt, string text, ArgsBase defaults) 142public void CallInit(IndentedTextWriter wrt) 150public void CallProcess(IndentedTextWriter wrt, string text) 340private void Run(string dir, string name, Action<IndentedTextWriter> init, 341Action<IndentedTextWriter, string> action) 350var wrt = new IndentedTextWriter(writer, " ");
Microsoft.ML.Tests (3)
ExpressionLanguageTests\ExpressionLanguageTests.cs (3)
121var wrt = new IndentedTextWriter(wr, " "); 241private void Evaluate(IndentedTextWriter wrt, Delegate del, DataViewType typeRes, DataViewType[] types, 399private void DumpErrors(IndentedTextWriter wrt, List<int> lineMap, int lineMin,
Microsoft.ML.Transforms (3)
Expression\Printer.cs (3)
24private readonly IndentedTextWriter _wrt; 26private NodePrinter(IndentedTextWriter wrt, bool showTypes, bool showValues) 40var wrt = new IndentedTextWriter(writer, " ");
netstandard (1)
netstandard.cs (1)
86[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.CodeDom.Compiler.IndentedTextWriter))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
127[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.CodeDom.Compiler.IndentedTextWriter))]
System.IO (1)
System.IO.cs (1)
20[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.CodeDom.Compiler.IndentedTextWriter))]
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\CodeDom\Compiler\IndentedTextWriter.cs (2)
61/// Clears all buffers for this <see cref="IndentedTextWriter"/> asynchronously and causes any buffered data to be 68GetType() != typeof(IndentedTextWriter) ? FlushAsync() :
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net11.0\System.Runtime.Forwards.cs (1)
72[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.CodeDom.Compiler.IndentedTextWriter))]
System.Runtime.Extensions (1)
System.Runtime.Extensions.cs (1)
31[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.CodeDom.Compiler.IndentedTextWriter))]
System.Text.RegularExpressions.Generator (17)
RegexGenerator.cs (2)
117var writer = new IndentedTextWriter(sw); 172using IndentedTextWriter writer = new(sw);
RegexGenerator.Emitter.cs (15)
61private static void EmitRegexPartialMethod(RegexMethod regexMethod, IndentedTextWriter writer) 118IndentedTextWriter writer, RegexMethod rm, string reason, LanguageVersion langVer) 152IndentedTextWriter writer, RegexMethod rm, string runnerFactoryImplementation, bool allowUnsafe) 209static void AppendHashtableContents(IndentedTextWriter writer, IEnumerable<DictionaryEntry> contents) 232private static void EmitRegexDerivedTypeRunnerFactory(IndentedTextWriter writer, RegexMethod rm, Dictionary<string, string[]> requiredHelpers, bool checkOverflow) 752private static (bool NeedsTryFind, bool NeedsTryMatch) EmitScan(IndentedTextWriter writer, RegexMethod rm) 838private static void EmitTryFindNextPossibleStartingPosition(IndentedTextWriter writer, RegexMethod rm, Dictionary<string, string[]> requiredHelpers, bool checkOverflow) 1588private static void EmitTryMatchAtCurrentPosition(IndentedTextWriter writer, RegexMethod rm, Dictionary<string, string[]> requiredHelpers, bool checkOverflow) 5021private static void EmitTimeoutCheckIfNeeded(IndentedTextWriter writer, RegexMethod rm, bool appendNewLineIfTimeoutEmitted = true) 5521private static void InsertAdditionalDeclarations(IndentedTextWriter writer, HashSet<string> declarations, int position, int indent) 5530tmp.Append(IndentedTextWriter.DefaultTabString); 5855private static FinishEmitBlock EmitBlock(IndentedTextWriter writer, string? clause, bool faux = false) 5866private static void EmitAdd(IndentedTextWriter writer, string variable, int value) 5881private readonly struct FinishEmitBlock(IndentedTextWriter writer, bool faux) : IDisposable 5883private readonly IndentedTextWriter _writer = writer;