1 write to TreeOptions
Microsoft.CodeAnalysis (1)
CommandLine\AnalyzerConfigOptionsResult.cs (1)
40
TreeOptions
= treeOptions;
37 references to TreeOptions
Microsoft.CodeAnalysis (3)
Compilation\SyntaxTreeOptionsProvider.cs (3)
40
DiagnosticOptions = r.
TreeOptions
;
89
if (_globalOptions.
TreeOptions
is object)
91
return _globalOptions.
TreeOptions
.TryGetValue(diagnosticId, out severity);
Microsoft.CodeAnalysis.UnitTests (33)
Analyzers\AnalyzerConfigTests.cs (33)
967
}, options.Select(o => o.
TreeOptions
).ToArray());
1017
}, options.Select(o => o.
TreeOptions
).ToArray());
1044
}, options.Select(o => o.
TreeOptions
).ToArray());
1066
}, options.Select(o => o.
TreeOptions
).ToArray());
1088
}, options.Select(o => o.
TreeOptions
).ToArray());
1112
}, options.Select(o => o.
TreeOptions
).ToArray());
1145
}, options.Select(o => o.
TreeOptions
).ToArray());
1167
}, options.Select(o => o.
TreeOptions
).ToArray());
1198
}, options.Select(o => o.
TreeOptions
).ToArray());
1218
}, options.Select(o => o.
TreeOptions
).ToArray());
1266
var treeOptions = options[i].
TreeOptions
;
1511
}, options.Select(o => o.
TreeOptions
).ToArray());
1541
}, options.Select(o => o.
TreeOptions
).ToArray());
1575
}, options.Select(o => o.
TreeOptions
).ToArray());
1591
Assert.Equal("cs000", options[0].
TreeOptions
.Keys.Single());
1593
Assert.Same(options[0].
TreeOptions
.Keys.First(), options[1].
TreeOptions
.Keys.First());
1594
Assert.Same(options[1].
TreeOptions
.Keys.First(), options[2].
TreeOptions
.Keys.First());
1609
Assert.Equal(KeyValuePair.Create("cs000", ReportDiagnostic.Warn), options[0].
TreeOptions
.Single());
1611
Assert.Same(options[0].
TreeOptions
, options[1].
TreeOptions
);
1613
Assert.Same(options[1].
TreeOptions
, options[2].
TreeOptions
);
2035
set.GlobalConfigOptions.
TreeOptions
);
2057
}, options.Select(o => o.
TreeOptions
).ToArray());
2104
options[0].
TreeOptions
);
2134
}, options.Select(o => o.
TreeOptions
).ToArray());
2236
Assert.NotNull(globalOptions.
TreeOptions
);
2240
Assert.Empty(globalOptions.
TreeOptions
);
2376
Assert.Empty(globalOptions.
TreeOptions
);
2391
Assert.Empty(globalOptions.
TreeOptions
);
2398
Assert.Empty(sectionOptions.
TreeOptions
);
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\AnalyzerConfigData.cs (1)
31
TreeOptions = result.
TreeOptions
;