10 instantiations of DiagnosticInfo
Microsoft.Maui.Controls.BindingSourceGen (10)
DiagnosticsFactory.cs (10)
20 => new DiagnosticInfo( 31 => new DiagnosticInfo( 42 => new DiagnosticInfo( 53 => new DiagnosticInfo( 64 => new DiagnosticInfo( 75 => new DiagnosticInfo( 86 => new DiagnosticInfo( 97 => new DiagnosticInfo( 108 => new DiagnosticInfo( 119 => new DiagnosticInfo(
17 references to DiagnosticInfo
Microsoft.Maui.Controls.BindingSourceGen (17)
BindingSourceGenerator.cs (1)
26 foreach (var diagnostic in bindingWithDiagnostic.Diagnostics)
DiagnosticsFactory.cs (10)
19 public static DiagnosticInfo UnableToResolvePath(Location location) 30 public static DiagnosticInfo GetterIsNotLambda(Location location) 41 public static DiagnosticInfo GetterLambdaBodyIsNotExpression(Location location) 52 public static DiagnosticInfo SuboptimalSetBindingOverload(Location location) 63 public static DiagnosticInfo LambdaParameterCannotBeResolved(Location location) 74 public static DiagnosticInfo LambdaResultCannotBeResolved(Location location) 85 public static DiagnosticInfo UnaccessibleTypeUsedAsLambdaParameter(Location location) 96 public static DiagnosticInfo UnaccessibleFieldInPath(Location location) 107 public static DiagnosticInfo UnaccessiblePropertyInPath(Location location) 118 public static DiagnosticInfo LambdaIsNotStatic(Location location)
Result.cs (6)
3public sealed record Result<T>(T? OptionalValue, EquatableArray<DiagnosticInfo> Diagnostics) 11 return new Result<T>(value, new EquatableArray<DiagnosticInfo>(Array.Empty<DiagnosticInfo>())); 14 public static Result<T> Failure(EquatableArray<DiagnosticInfo> diagnostics) 19 public static Result<T> Failure(DiagnosticInfo diagnostic) 21 return new Result<T>(default, new EquatableArray<DiagnosticInfo>(new[] { diagnostic }));