10 references to IsSpecialTaskAttribute
Microsoft.Build (4)
Construction\ProjectTaskElement.cs (3)
327ErrorUtilities.VerifyThrowArgument(!XMakeAttributes.IsSpecialTaskAttribute(name), "CannotAccessKnownAttributes", name); 376if (!XMakeAttributes.IsSpecialTaskAttribute(attribute.Name)) 448if (!XMakeAttributes.IsSpecialTaskAttribute(attribute.Name))
XMakeAttributes.cs (1)
136return !IsSpecialTaskAttribute(attribute) && KnownSpecialTaskAttributesIgnoreCase.Contains(attribute);
Microsoft.Build.Engine.UnitTests (6)
XmakeAttributes_Tests.cs (6)
19Assert.False(XMakeAttributes.IsSpecialTaskAttribute("NotAnAttribute")); 20Assert.True(XMakeAttributes.IsSpecialTaskAttribute(XMakeAttributes.xmlns)); 21Assert.True(XMakeAttributes.IsSpecialTaskAttribute(XMakeAttributes.continueOnError)); 22Assert.True(XMakeAttributes.IsSpecialTaskAttribute(XMakeAttributes.condition)); 23Assert.True(XMakeAttributes.IsSpecialTaskAttribute(XMakeAttributes.msbuildArchitecture)); 24Assert.True(XMakeAttributes.IsSpecialTaskAttribute(XMakeAttributes.msbuildRuntime));