private static bool IsSupportedExtension(string extension) { // ISSUE: object of a compiler-generated type is created // ISSUE: variable of a compiler-generated type ProjectStateRestHandler.\u003CIsSupportedExtension\u003Ec__AnonStorey26 extensionCAnonStorey26 = new ProjectStateRestHandler.\u003CIsSupportedExtension\u003Ec__AnonStorey26(); // ISSUE: reference to a compiler-generated field extensionCAnonStorey26.extension = extension; // ISSUE: reference to a compiler-generated field if (extensionCAnonStorey26.extension.StartsWith(".")) { // ISSUE: reference to a compiler-generated field // ISSUE: reference to a compiler-generated field extensionCAnonStorey26.extension = extensionCAnonStorey26.extension.Substring(1); } // ISSUE: reference to a compiler-generated method return(((IEnumerable <string>)EditorSettings.projectGenerationBuiltinExtensions).Concat <string>((IEnumerable <string>)EditorSettings.projectGenerationUserExtensions).Any <string>(new Func <string, bool>(extensionCAnonStorey26.\u003C\u003Em__35))); }
private static bool IsSupportedExtension(string extension) { // ISSUE: object of a compiler-generated type is created // ISSUE: variable of a compiler-generated type ProjectStateRestHandler.\u003CIsSupportedExtension\u003Ec__AnonStorey26 extensionCAnonStorey26 = new ProjectStateRestHandler.\u003CIsSupportedExtension\u003Ec__AnonStorey26(); // ISSUE: reference to a compiler-generated field extensionCAnonStorey26.extension = extension; // ISSUE: reference to a compiler-generated field if (extensionCAnonStorey26.extension.StartsWith(".")) { // ISSUE: reference to a compiler-generated field // ISSUE: reference to a compiler-generated field extensionCAnonStorey26.extension = extensionCAnonStorey26.extension.Substring(1); } // ISSUE: reference to a compiler-generated method return ((IEnumerable<string>) EditorSettings.projectGenerationBuiltinExtensions).Concat<string>((IEnumerable<string>) EditorSettings.projectGenerationUserExtensions).Any<string>(new Func<string, bool>(extensionCAnonStorey26.\u003C\u003Em__35)); }