n9
n9
The following code "works", but nullability is lost: ```C# GetInterface(typeof(IEnumerable).FullName).GetRuntimeMethods().Single() .ReturnParameter.ToContextualParameter() ```
@jeremyVignelles Yes, as I am testing more cases, the nullability is broken somehow: `IEnumerable` returns correct result. But `EnumerableItemType` for `IReadOnlyDictionary` returns ``` KeyValuePair: NotNullable Int32: NotNullable String: NotNullable ```...
@jeremyVignelles I am not sure about that. If I understand your statement correctly, ILSpy (https://github.com/icsharpcode/ILSpy/pull/1425) will not be able to determine nullability of the following: ```C# interface IBar { }...
_"There is no difference between Bar and BarN in the generated code."_ There are different flags, check the IL: ``` .class private auto ansi beforefieldinit Bar extends [System.Private.CoreLib]System.Object implements .custom...
Same issue, another stack trace. ``` System.NullReferenceException: Object reference not set to an instance of an object. at RefactoringEssentials.SymbolExtensions.GetContainingTypeOrThis(ISymbol symbol) at RefactoringEssentials.CSharp.Diagnostics.LocalVariableHidesMemberAnalyzer.TryGetDiagnostic(SyntaxNodeAnalysisContext nodeContext, Diagnostic& diagnostic) at RefactoringEssentials.CSharp.Diagnostics.LocalVariableHidesMemberAnalyzer.c.b__3_0(SyntaxNodeAnalysisContext nodeContext) at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.c__43`1.b__43_0(ValueTuple`2...
Similar situation is following: ```C# public class Foo { } public static class FooEx { public static string GetType(this Foo foo) { throw new NotImplementedException(); } } class Program {...
@pan-wang IISIntegration is replacement for AspNetCoreModule? Or how these two projects relate? Where can I find more information?
@dfev77 `IsWindow` might not be 100% reliable: > A thread should not use IsWindow for a window that it did not create ... because window handles are recycled the handle...
/remove-lifecycle stale