Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
private Diag GetDiagnostic(PropertyDeclarationSyntax syntax, ContractCategory contractCategory) { if (syntax == null) { return(null); } syntax = syntax.FindDeclaringMemberOnBaseClass(_semanticModel, _root); if (syntax.AttributeLists.ContainsNotNullAttribute()) { return(null); } return(new Diag(syntax.Identifier.GetLocation(), syntax.Identifier.Text, contractCategory)); }