7 references to IsReadOnly
Microsoft.Build.Tasks.Core (3)
Copy.cs (3)
292
!destinationFileState.
IsReadOnly
)
353
if (sourceFileState.
IsReadOnly
)
381
if (file.
IsReadOnly
)
Microsoft.Build.Tasks.UnitTests (4)
FileStateTests.cs (4)
169
Assert.Equal(info.IsReadOnly, state.
IsReadOnly
);
319
Assert.Equal(info.IsReadOnly, state.
IsReadOnly
);
322
Assert.True(state.
IsReadOnly
);
341
Assert.Equal(new FileInfo(Path.GetTempPath()).IsReadOnly, new FileState(Path.GetTempPath()).
IsReadOnly
);