Skip to content

Instantly share code, notes, and snippets.

View Neme12's full-sized avatar
🤐
I may be slow to respond.

Ashley Neme12

🤐
I may be slow to respond.
  • Czechia
  • 02:39 (UTC +02:00)
View GitHub Profile
private static bool IsTypeName(
SyntaxNodeOrToken nodeOrToken,
SemanticModel semanticModel,
CancellationToken cancellationToken)
{
// Syntactically, everything works out. We're in a pretty good spot to show 'when' now.
// But let's not do it just yet... Consider these cases:
// case SyntaxNode |
// case SyntaxNode w|
// If what we have here is known to be a type, we don't want to clutter the variable name suggestion list
@Neme12
Neme12 / App.xaml
Last active April 1, 2017 18:06
ThemeManager in File Browser app
<Application
x:Class="FileBrowser.Universal.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:FileBrowser.Universal"
xmlns:strings="using:FileBrowser.Universal.Strings"
xmlns:converters="using:Neme.Mvvm.Converters"
xmlns:localConverters="using:FileBrowser.Universal.Converters"
xmlns:utilities="using:FileBrowser.Universal.Utilities"
xmlns:resources="using:FileBrowser.Universal.Resources"