// 16.0 Preview 1 features not included in this demo project #region //public void FindAllReferenceCodeLensRazorSupport() { } //public void ExportSettingstoEditorconfig() { } //public void CodeMetricsNETCore() { } #endregion // First thing you may notice are new colors according to Roslyn classification. // These colors are similar to the very popular Visual Studio Code colors. // You can opt in/out of these new colors in Tools > Options > Environment > Preview Features // with the checkbox "Use enhanced colors for C#". // As always, any feedback is appreciated! public void NewColors(Update160 parameterNewColor) { int localVariableNewColor = 100; // for keyword has new color for (int i = 0; i < 10; i++) { localVariableNewColor--; parameterNewColor--; // Overloaded operators get slightly different coloring too! } }
// Find All References 'Kind' column values for Namespaces and Types // Select the 'foo' field and type (Shift + F12) to open Find All References window // Scroll right to view the "Kind" column // Click on the filter on the column header to view new namespace and type awareness public void AdditionsToKindColumninFindAllReferences() { Update160 fooType = new Update160(); fooType.foo = 0; }